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 NewContextWithTestName() context.Context
- func NewInt32IDArrayBuilder(pool memory.Allocator) *array.Int32Builder
- func NewInt64IDArrayBuilder(pool memory.Allocator) *array.Int64Builder
- func ProtobufDifference(expected, actual proto.Message) (string, error)
- type ArrowIDBuilder
- type Record
- type Table
- type TableIDTypes
- 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 ¶
func NewContextWithTestName ¶ added in v0.5.11
func NewInt32IDArrayBuilder ¶ added in v0.5.1
func NewInt32IDArrayBuilder(pool memory.Allocator) *array.Int32Builder
func NewInt64IDArrayBuilder ¶ added in v0.5.1
func NewInt64IDArrayBuilder(pool memory.Allocator) *array.Int64Builder
Types ¶
type ArrowIDBuilder ¶ added in v0.5.1
type ArrowIDBuilder[ID TableIDTypes] interface { *array.Int64Builder | *array.Int32Builder Append(ID) NewArray() arrow.Array Release() }
type Record ¶ added in v0.4.0
type Record[ID TableIDTypes, IDBUILDER ArrowIDBuilder[ID]] struct { Columns map[string]any }
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[ID, IDBUILDER]) MatchRecord ¶ added in v0.4.0
type Table ¶ added in v0.4.0
type Table[T TableIDTypes, K ArrowIDBuilder[T]] struct { Name string Schema *TableSchema Records []*Record[T, K] // Large tables may consist of multiple records IDArrayBuilderFactory func() K }
func (*Table[T, K]) 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 TableIDTypes ¶ added in v0.5.1
type TableSchema ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.