Documentation ¶
Index ¶
- func MakePredicateComparisonColumn(columnName string, ...) *api_service_protos.TPredicate_Comparison
- func MakePredicateIsNotNullColumn(columnName string) *api_service_protos.TPredicate_IsNotNull
- func MakePredicateIsNullColumn(columnName string) *api_service_protos.TPredicate_IsNull
- func MustProtobufDifference(expected, actual proto.Message) string
- func ProtobufDifference(expected, actual proto.Message) (string, error)
- type Record
- type Table
- type TableSchema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakePredicateComparisonColumn ¶
func MakePredicateComparisonColumn( columnName string, operation api_service_protos.TPredicate_TComparison_EOperation, value *Ydb.TypedValue, ) *api_service_protos.TPredicate_Comparison
func MakePredicateIsNotNullColumn ¶
func MakePredicateIsNotNullColumn(columnName string) *api_service_protos.TPredicate_IsNotNull
func MakePredicateIsNullColumn ¶
func MakePredicateIsNullColumn(columnName string) *api_service_protos.TPredicate_IsNull
func MustProtobufDifference ¶
Types ¶
type Record ¶ added in v0.4.0
Record is somewhat equivalent to arrow.Record. Store columns in map because order of columns in some datasource is undefined. (i.e. in YDB - https://st.yandex-team.ru/KIKIMR-20836)
func (*Record) MatchRecord ¶ added in v0.4.0
type Table ¶ added in v0.4.0
type Table struct { Name string Schema *TableSchema Records []*Record // Large tables may consist of multiple records }
func (*Table) MatchRecords ¶ added in v0.4.0
func (*Table) MatchSchema ¶ added in v0.4.0
func (tb *Table) MatchSchema(t *testing.T, schema *api_service_protos.TSchema)
type TableSchema ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.