vastdb 1.3.7__tar.gz → 1.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vastdb-1.3.7 → vastdb-1.3.8}/CHANGELOG.md +18 -2
- {vastdb-1.3.7 → vastdb-1.3.8}/PKG-INFO +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8}/setup.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/_internal.py +158 -77
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/test_perf.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/config.py +3 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/errors.py +6 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/features.py +9 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/schema.py +5 -3
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/table.py +76 -15
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_imports.py +70 -1
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_tables.py +217 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/util.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Aggregate.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Call.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CaseFragment.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Cast.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConditionalCase.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Filter.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Grouping.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Join.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/KeyValue.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Limit.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ListLiteral.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Literal.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralColumn.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralRelation.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/MapKey.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/MapLiteral.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/OrderBy.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Plan.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Project.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOperation.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SimpleCase.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SortKey.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Source.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructLiteral.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/WindowCall.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryBatch.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryEncoding.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Field.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Footer.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Message.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/RecordBatch.py +3 -3
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Schema.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/SparseMatrixIndexCSX.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensor.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndexCOO.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndexCSF.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Tensor.py +2 -2
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/CreateProjectionRequest.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/GetRowColumnSecurityResponse.py +4 -4
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/GetTableStatsResponse.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ImportDataRequest.py +34 -1
- vastdb-1.3.8/vastdb/vast_flatbuf/tabular/KeyName.py +45 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ListProjectionsResponse.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ListSchemasResponse.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ListTablesResponse.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ListViewsResponse.py +1 -1
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb.egg-info/PKG-INFO +1 -1
- vastdb-1.3.8/vastdb.egg-info/SOURCES.txt +223 -0
- vastdb-1.3.8/vastdb.egg-info/top_level.txt +1 -0
- vastdb-1.3.7/vastdb.egg-info/SOURCES.txt +0 -222
- vastdb-1.3.7/vastdb.egg-info/top_level.txt +0 -2
- {vastdb-1.3.7 → vastdb-1.3.8}/CONTRIBUTING.md +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/LICENSE +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/MANIFEST.in +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/README.md +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/requirements.txt +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/setup.cfg +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/__init__.py +0 -0
- {vastdb-1.3.7/vast_flatbuf → vastdb-1.3.8/vastdb/bench}/__init__.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/org → vastdb-1.3.8/vastdb/bench/perf_bench}/__init__.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/org/apache → vastdb-1.3.8/vastdb/bench/perf_bench/bench_repo}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/bench_repo/mega_combo.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/cli.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/org/apache/arrow → vastdb-1.3.8/vastdb/bench/perf_bench/common}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/common/constants.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/common/log_utils.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/common/types.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/common/utils.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/org/apache/arrow/computeir → vastdb-1.3.8/vastdb/bench/perf_bench/dataset}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/dataset/generate_secmaster.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/dataset/generate_stocks_dataset.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/dataset/schemas.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/dataset/secmaster.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/org/apache/arrow/computeir/flatbuf → vastdb-1.3.8/vastdb/bench/perf_bench/orchestrate}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/orchestrate/bench_spec.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/orchestrate/results_helpers.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/orchestrate/scenario.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/orchestrate/scenario_generator.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/org/apache/arrow/flatbuf → vastdb-1.3.8/vastdb/bench/perf_bench/query}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/query/arrow_common.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/query/query.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/query/query_pyarrow.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/query/query_vastdb.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/perf_bench/run.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bench/test_sample.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/bucket.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/conftest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/session.py +0 -0
- {vastdb-1.3.7/vast_flatbuf/tabular → vastdb-1.3.8/vastdb/tests}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/metrics.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_duckdb.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_nested.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_projections.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_sanity.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_schemas.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/tests/test_util.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/transaction.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/util.py +0 -0
- {vastdb-1.3.7/vastdb/bench → vastdb-1.3.8/vastdb/vast_flatbuf}/__init__.py +0 -0
- {vastdb-1.3.7/vastdb/bench/perf_bench → vastdb-1.3.8/vastdb/vast_flatbuf/org}/__init__.py +0 -0
- {vastdb-1.3.7/vastdb/bench/perf_bench/bench_repo → vastdb-1.3.8/vastdb/vast_flatbuf/org/apache}/__init__.py +0 -0
- {vastdb-1.3.7/vastdb/bench/perf_bench/common → vastdb-1.3.8/vastdb/vast_flatbuf/org/apache/arrow}/__init__.py +0 -0
- {vastdb-1.3.7/vastdb/bench/perf_bench/dataset → vastdb-1.3.8/vastdb/vast_flatbuf/org/apache/arrow/computeir}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySlice.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySubscript.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BinaryLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BooleanLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Bound.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConcreteBoundImpl.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CurrentRow.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DateLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DecimalLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Deref.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DurationLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Expression.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ExpressionImpl.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FieldIndex.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FieldRef.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FixedSizeBinaryLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float16Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float32Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float64Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Following.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Frame.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int16Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int32Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int64Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int8Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralDaysMilliseconds.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralImpl.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralMonths.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/JoinKind.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralImpl.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Ordering.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Preceding.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelId.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Relation.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelationImpl.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOpKind.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StringLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructField.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimeLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimestampLiteral.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt16Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt32Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt64Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt8Literal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Unbounded.py +0 -0
- {vastdb-1.3.7/vastdb/bench/perf_bench/orchestrate → vastdb-1.3.8/vastdb/vast_flatbuf/org/apache/arrow/computeir/flatbuf}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Binary.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Block.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompression.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompressionMethod.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Bool.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Buffer.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/CompressionType.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Date.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/DateUnit.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Decimal.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryKind.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Duration.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Endianness.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Feature.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/FieldNode.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/FixedSizeBinary.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/FixedSizeList.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/FloatingPoint.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Int.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Interval.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/IntervalUnit.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/KeyValue.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/LargeBinary.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/LargeList.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/LargeUtf8.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/List.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Map.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/MessageHeader.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/MetadataVersion.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Null.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Precision.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/SparseMatrixCompressedAxis.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndex.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Struct_.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/TensorDim.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Time.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/TimeUnit.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Timestamp.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Type.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Union.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/UnionMode.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/org/apache/arrow/flatbuf/Utf8.py +0 -0
- {vastdb-1.3.7/vastdb/bench/perf_bench/query → vastdb-1.3.8/vastdb/vast_flatbuf/org/apache/arrow/flatbuf}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/AlterColumnRequest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/AlterProjectionTableRequest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/AlterSchemaRequest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/AlterTableRequest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/Column.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ColumnDetails.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ColumnType.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/CreateSchemaRequest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/CreateViewRequest.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/FilterString.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/GetProjectionTableStatsResponse.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/NameString.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/ObjectDetails.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/S3File.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8/vastdb}/vast_flatbuf/tabular/VipRange.py +0 -0
- {vastdb-1.3.7/vastdb/tests → vastdb-1.3.8/vastdb/vast_flatbuf/tabular}/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/vast_tests/__init__.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/vast_tests/test_ha.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb/vast_tests/test_scale.py +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb.egg-info/dependency_links.txt +0 -0
- {vastdb-1.3.7 → vastdb-1.3.8}/vastdb.egg-info/requires.txt +0 -0
|
@@ -4,14 +4,30 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
6
6
|
|
|
7
|
+
## [1.3.8] (2025-03-31)
|
|
8
|
+
[1.3.8]: https://github.com/vast-data/vastdb_sdk/compare/v1.3.7...v1.3.8
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Support InsufficientCapacity (fixes internal issue)
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- Add server feature supported checks
|
|
15
|
+
- Support zip import
|
|
16
|
+
- Add split estimation for sorted tables
|
|
17
|
+
- Support Update & Delete for Sorted Tables
|
|
18
|
+
- Support Elysium DDL for the pysdk
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Move vast_flatbuf under vastdb
|
|
22
|
+
|
|
7
23
|
## [1.3.7] (2024-12-23)
|
|
8
|
-
[1.3.
|
|
24
|
+
[1.3.7]: https://github.com/vast-data/vastdb_sdk/compare/v1.3.6...v1.3.7
|
|
9
25
|
|
|
10
26
|
### Fixed
|
|
11
27
|
- Fix creating kafka schema before calling create table.
|
|
12
28
|
|
|
13
29
|
## [1.3.6] (2024-12-23)
|
|
14
|
-
[1.3.
|
|
30
|
+
[1.3.6]: https://github.com/vast-data/vastdb_sdk/compare/v1.3.5...v1.3.6
|
|
15
31
|
|
|
16
32
|
### Fixed
|
|
17
33
|
- Fix missing api call.
|
|
@@ -38,75 +38,82 @@ from ibis.expr.operations.relations import Field
|
|
|
38
38
|
from ibis.expr.operations.strings import StartsWith, StringContains
|
|
39
39
|
from ibis.expr.operations.structs import StructField
|
|
40
40
|
|
|
41
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.BinaryLiteral as fb_binary_lit
|
|
42
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.BooleanLiteral as fb_bool_lit
|
|
43
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Call as fb_call
|
|
44
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.DateLiteral as fb_date32_lit
|
|
45
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.DecimalLiteral as fb_decimal_lit
|
|
46
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Expression as fb_expression
|
|
47
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.FieldIndex as fb_field_index
|
|
48
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.FieldRef as fb_field_ref
|
|
49
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Float32Literal as fb_float32_lit
|
|
50
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Float64Literal as fb_float64_lit
|
|
51
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int8Literal as fb_int8_lit
|
|
52
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int16Literal as fb_int16_lit
|
|
53
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int32Literal as fb_int32_lit
|
|
54
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int64Literal as fb_int64_lit
|
|
55
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Literal as fb_literal
|
|
56
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Relation as fb_relation
|
|
57
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.RelationImpl as rel_impl
|
|
58
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.Source as fb_source
|
|
59
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.StringLiteral as fb_string_lit
|
|
60
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.TimeLiteral as fb_time_lit
|
|
61
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.TimestampLiteral as fb_timestamp_lit
|
|
62
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt8Literal as fb_uint8_lit
|
|
63
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt16Literal as fb_uint16_lit
|
|
64
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt32Literal as fb_uint32_lit
|
|
65
|
-
import vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt64Literal as fb_uint64_lit
|
|
66
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Binary as fb_binary
|
|
67
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Bool as fb_bool
|
|
68
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Date as fb_date
|
|
69
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Decimal as fb_decimal
|
|
70
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Field as fb_field
|
|
71
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.FixedSizeBinary as fb_fixed_size_binary
|
|
72
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.FloatingPoint as fb_floating_point
|
|
73
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Int as fb_int
|
|
74
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.List as fb_list
|
|
75
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Map as fb_map
|
|
76
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Schema as fb_schema
|
|
77
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Struct_ as fb_struct
|
|
78
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Time as fb_time
|
|
79
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Timestamp as fb_timestamp
|
|
80
|
-
import vast_flatbuf.org.apache.arrow.flatbuf.Utf8 as fb_utf8
|
|
81
|
-
import vast_flatbuf.tabular.AlterColumnRequest as tabular_alter_column
|
|
82
|
-
import vast_flatbuf.tabular.AlterProjectionTableRequest as tabular_alter_projection
|
|
83
|
-
import vast_flatbuf.tabular.AlterSchemaRequest as tabular_alter_schema
|
|
84
|
-
import vast_flatbuf.tabular.AlterTableRequest as tabular_alter_table
|
|
85
|
-
import vast_flatbuf.tabular.Column as tabular_projecion_column
|
|
86
|
-
import vast_flatbuf.tabular.ColumnType as tabular_proj_column_type
|
|
87
|
-
import vast_flatbuf.tabular.CreateProjectionRequest as tabular_create_projection
|
|
88
|
-
import vast_flatbuf.tabular.CreateSchemaRequest as tabular_create_schema
|
|
89
|
-
import vast_flatbuf.tabular.ImportDataRequest as tabular_import_data
|
|
90
|
-
import vast_flatbuf.tabular.
|
|
91
|
-
|
|
92
|
-
from vast_flatbuf.org.apache.arrow.computeir.flatbuf.
|
|
41
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.BinaryLiteral as fb_binary_lit
|
|
42
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.BooleanLiteral as fb_bool_lit
|
|
43
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Call as fb_call
|
|
44
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.DateLiteral as fb_date32_lit
|
|
45
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.DecimalLiteral as fb_decimal_lit
|
|
46
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Expression as fb_expression
|
|
47
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.FieldIndex as fb_field_index
|
|
48
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.FieldRef as fb_field_ref
|
|
49
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Float32Literal as fb_float32_lit
|
|
50
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Float64Literal as fb_float64_lit
|
|
51
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int8Literal as fb_int8_lit
|
|
52
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int16Literal as fb_int16_lit
|
|
53
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int32Literal as fb_int32_lit
|
|
54
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Int64Literal as fb_int64_lit
|
|
55
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Literal as fb_literal
|
|
56
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Relation as fb_relation
|
|
57
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.RelationImpl as rel_impl
|
|
58
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Source as fb_source
|
|
59
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.StringLiteral as fb_string_lit
|
|
60
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.TimeLiteral as fb_time_lit
|
|
61
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.TimestampLiteral as fb_timestamp_lit
|
|
62
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt8Literal as fb_uint8_lit
|
|
63
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt16Literal as fb_uint16_lit
|
|
64
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt32Literal as fb_uint32_lit
|
|
65
|
+
import vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.UInt64Literal as fb_uint64_lit
|
|
66
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Binary as fb_binary
|
|
67
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Bool as fb_bool
|
|
68
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Date as fb_date
|
|
69
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Decimal as fb_decimal
|
|
70
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Field as fb_field
|
|
71
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.FixedSizeBinary as fb_fixed_size_binary
|
|
72
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.FloatingPoint as fb_floating_point
|
|
73
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Int as fb_int
|
|
74
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.List as fb_list
|
|
75
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Map as fb_map
|
|
76
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Schema as fb_schema
|
|
77
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Struct_ as fb_struct
|
|
78
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Time as fb_time
|
|
79
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Timestamp as fb_timestamp
|
|
80
|
+
import vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Utf8 as fb_utf8
|
|
81
|
+
import vastdb.vast_flatbuf.tabular.AlterColumnRequest as tabular_alter_column
|
|
82
|
+
import vastdb.vast_flatbuf.tabular.AlterProjectionTableRequest as tabular_alter_projection
|
|
83
|
+
import vastdb.vast_flatbuf.tabular.AlterSchemaRequest as tabular_alter_schema
|
|
84
|
+
import vastdb.vast_flatbuf.tabular.AlterTableRequest as tabular_alter_table
|
|
85
|
+
import vastdb.vast_flatbuf.tabular.Column as tabular_projecion_column
|
|
86
|
+
import vastdb.vast_flatbuf.tabular.ColumnType as tabular_proj_column_type
|
|
87
|
+
import vastdb.vast_flatbuf.tabular.CreateProjectionRequest as tabular_create_projection
|
|
88
|
+
import vastdb.vast_flatbuf.tabular.CreateSchemaRequest as tabular_create_schema
|
|
89
|
+
import vastdb.vast_flatbuf.tabular.ImportDataRequest as tabular_import_data
|
|
90
|
+
import vastdb.vast_flatbuf.tabular.KeyName as import_key_name
|
|
91
|
+
import vastdb.vast_flatbuf.tabular.S3File as tabular_s3_file
|
|
92
|
+
from vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.Deref import Deref
|
|
93
|
+
from vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.ExpressionImpl import (
|
|
93
94
|
ExpressionImpl,
|
|
94
95
|
)
|
|
95
|
-
from vast_flatbuf.org.apache.arrow.computeir.flatbuf.LiteralImpl import
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
from vast_flatbuf.org.apache.arrow.flatbuf.
|
|
99
|
-
from vast_flatbuf.
|
|
96
|
+
from vastdb.vast_flatbuf.org.apache.arrow.computeir.flatbuf.LiteralImpl import (
|
|
97
|
+
LiteralImpl,
|
|
98
|
+
)
|
|
99
|
+
from vastdb.vast_flatbuf.org.apache.arrow.flatbuf.DateUnit import DateUnit
|
|
100
|
+
from vastdb.vast_flatbuf.org.apache.arrow.flatbuf.TimeUnit import TimeUnit
|
|
101
|
+
from vastdb.vast_flatbuf.org.apache.arrow.flatbuf.Type import Type
|
|
102
|
+
from vastdb.vast_flatbuf.tabular.GetProjectionTableStatsResponse import (
|
|
100
103
|
GetProjectionTableStatsResponse as get_projection_table_stats,
|
|
101
104
|
)
|
|
102
|
-
from vast_flatbuf.tabular.GetTableStatsResponse import (
|
|
105
|
+
from vastdb.vast_flatbuf.tabular.GetTableStatsResponse import (
|
|
103
106
|
GetTableStatsResponse as get_table_stats,
|
|
104
107
|
)
|
|
105
|
-
from vast_flatbuf.tabular.ListProjectionsResponse import (
|
|
108
|
+
from vastdb.vast_flatbuf.tabular.ListProjectionsResponse import (
|
|
106
109
|
ListProjectionsResponse as list_projections,
|
|
107
110
|
)
|
|
108
|
-
from vast_flatbuf.tabular.ListSchemasResponse import
|
|
109
|
-
|
|
111
|
+
from vastdb.vast_flatbuf.tabular.ListSchemasResponse import (
|
|
112
|
+
ListSchemasResponse as list_schemas,
|
|
113
|
+
)
|
|
114
|
+
from vastdb.vast_flatbuf.tabular.ListTablesResponse import (
|
|
115
|
+
ListTablesResponse as list_tables,
|
|
116
|
+
)
|
|
110
117
|
|
|
111
118
|
from . import errors, util
|
|
112
119
|
from .config import BackoffConfig
|
|
@@ -787,7 +794,7 @@ def _decode_table_props(s):
|
|
|
787
794
|
return {y: _prop_coding[x][1](z) for x, y, z in triplets if z != ''}
|
|
788
795
|
|
|
789
796
|
|
|
790
|
-
TableInfo = namedtuple('TableInfo', 'name properties handle num_rows size_in_bytes num_partitions')
|
|
797
|
+
TableInfo = namedtuple('TableInfo', 'name properties handle num_rows size_in_bytes num_partitions sorting_key_enabled')
|
|
791
798
|
|
|
792
799
|
|
|
793
800
|
def _parse_table_info(obj, parse_properties):
|
|
@@ -798,7 +805,8 @@ def _parse_table_info(obj, parse_properties):
|
|
|
798
805
|
used_bytes = obj.SizeInBytes()
|
|
799
806
|
num_partitions = obj.NumPartitions()
|
|
800
807
|
properties = parse_properties(properties)
|
|
801
|
-
|
|
808
|
+
sorting_key_enabled = obj.SortingKeyEnabled()
|
|
809
|
+
return TableInfo(name, properties, handle, num_rows, used_bytes, num_partitions, sorting_key_enabled)
|
|
802
810
|
|
|
803
811
|
|
|
804
812
|
# Results that returns from tablestats
|
|
@@ -962,12 +970,12 @@ class VastdbApi:
|
|
|
962
970
|
prefix += '&'.join(params_list)
|
|
963
971
|
return prefix
|
|
964
972
|
|
|
965
|
-
def _fill_common_headers(self, txid=0, client_tags=[], version_id=1):
|
|
973
|
+
def _fill_common_headers(self, txid=0, client_tags=[], version_id=1, sorting_key=[]):
|
|
966
974
|
common_headers = {
|
|
967
975
|
'tabular-txid': str(txid),
|
|
968
976
|
'tabular-api-version-id': str(version_id),
|
|
969
977
|
'tabular-client-name': 'tabular-api'
|
|
970
|
-
}
|
|
978
|
+
} | {f"tabular-sorted-column-{i}": str(k) for i, k in enumerate(sorting_key)}
|
|
971
979
|
|
|
972
980
|
return common_headers | {f'tabular-client-tags-{index}': tag for index, tag in enumerate(client_tags)}
|
|
973
981
|
|
|
@@ -1122,11 +1130,12 @@ class VastdbApi:
|
|
|
1122
1130
|
|
|
1123
1131
|
def create_table(self, bucket, schema, name, arrow_schema=None,
|
|
1124
1132
|
txid=0, client_tags=[], expected_retvals=[],
|
|
1125
|
-
create_imports_table=False, use_external_row_ids_allocation=False, table_props=None
|
|
1133
|
+
create_imports_table=False, use_external_row_ids_allocation=False, table_props=None,
|
|
1134
|
+
sorting_key=[]):
|
|
1126
1135
|
self._create_table_internal(bucket=bucket, schema=schema, name=name, arrow_schema=arrow_schema,
|
|
1127
1136
|
txid=txid, client_tags=client_tags, expected_retvals=expected_retvals,
|
|
1128
1137
|
create_imports_table=create_imports_table, use_external_row_ids_allocation=use_external_row_ids_allocation,
|
|
1129
|
-
table_props=table_props)
|
|
1138
|
+
table_props=table_props, sorting_key=sorting_key)
|
|
1130
1139
|
|
|
1131
1140
|
def create_topic(self, bucket, name, topic_partitions, expected_retvals=[],
|
|
1132
1141
|
message_timestamp_type=None, retention_ms=None, message_timestamp_after_max_ms=None,
|
|
@@ -1143,7 +1152,8 @@ class VastdbApi:
|
|
|
1143
1152
|
|
|
1144
1153
|
def _create_table_internal(self, bucket, schema, name, arrow_schema=None,
|
|
1145
1154
|
txid=0, client_tags=[], expected_retvals=[], topic_partitions=0,
|
|
1146
|
-
create_imports_table=False, use_external_row_ids_allocation=False, table_props=None
|
|
1155
|
+
create_imports_table=False, use_external_row_ids_allocation=False, table_props=None,
|
|
1156
|
+
sorting_key=[]):
|
|
1147
1157
|
"""
|
|
1148
1158
|
Create a table, use the following request
|
|
1149
1159
|
POST /bucket/schema/table?table HTTP/1.1
|
|
@@ -1160,8 +1170,7 @@ class VastdbApi:
|
|
|
1160
1170
|
The request will look like:
|
|
1161
1171
|
POST /bucket/schema/table?table&sub-table=vastdb-imported-objects HTTP/1.1
|
|
1162
1172
|
"""
|
|
1163
|
-
headers = self._fill_common_headers(txid=txid, client_tags=client_tags)
|
|
1164
|
-
|
|
1173
|
+
headers = self._fill_common_headers(txid=txid, client_tags=client_tags, sorting_key=sorting_key)
|
|
1165
1174
|
if arrow_schema is None:
|
|
1166
1175
|
arrow_schema = pa.schema([])
|
|
1167
1176
|
|
|
@@ -1222,7 +1231,7 @@ class VastdbApi:
|
|
|
1222
1231
|
table_properties=table_properties, new_name=new_name, expected_retvals=expected_retvals)
|
|
1223
1232
|
|
|
1224
1233
|
def alter_table(self, bucket, schema, name, txid=0, client_tags=[], table_properties="",
|
|
1225
|
-
new_name="", expected_retvals=[]):
|
|
1234
|
+
new_name="", expected_retvals=[], sorting_key=[]):
|
|
1226
1235
|
"""
|
|
1227
1236
|
PUT /mybucket/myschema/mytable?table HTTP/1.1
|
|
1228
1237
|
Content-Length: ContentLength
|
|
@@ -1246,7 +1255,7 @@ class VastdbApi:
|
|
|
1246
1255
|
builder.Finish(params)
|
|
1247
1256
|
alter_table_req = builder.Output()
|
|
1248
1257
|
|
|
1249
|
-
headers = self._fill_common_headers(txid=txid, client_tags=client_tags)
|
|
1258
|
+
headers = self._fill_common_headers(txid=txid, client_tags=client_tags, sorting_key=sorting_key)
|
|
1250
1259
|
headers['Content-Length'] = str(len(alter_table_req))
|
|
1251
1260
|
url_params = {'tabular-new-table-name': schema + "/" + new_name} if len(new_name) else {}
|
|
1252
1261
|
|
|
@@ -1415,9 +1424,9 @@ class VastdbApi:
|
|
|
1415
1424
|
url=self._url(bucket=bucket, schema=schema, table=table, command="column"),
|
|
1416
1425
|
data=serialized_schema, headers=headers)
|
|
1417
1426
|
|
|
1418
|
-
def
|
|
1419
|
-
|
|
1420
|
-
|
|
1427
|
+
def _list_columns_internal(self, command, bucket, schema, table, txid, client_tags, max_keys, next_key,
|
|
1428
|
+
count_only, name_prefix, exact_match, expected_retvals, bc_list_internals,
|
|
1429
|
+
list_imports_table):
|
|
1421
1430
|
"""
|
|
1422
1431
|
GET /mybucket/myschema/mytable?columns HTTP/1.1
|
|
1423
1432
|
tabular-txid: TransactionId
|
|
@@ -1447,7 +1456,7 @@ class VastdbApi:
|
|
|
1447
1456
|
url_params = {'sub-table': IMPORTED_OBJECTS_TABLE_NAME} if list_imports_table else {}
|
|
1448
1457
|
res = self._request(
|
|
1449
1458
|
method="GET",
|
|
1450
|
-
url=self._url(bucket=bucket, schema=schema, table=table, command=
|
|
1459
|
+
url=self._url(bucket=bucket, schema=schema, table=table, command=command, url_params=url_params),
|
|
1451
1460
|
headers=headers)
|
|
1452
1461
|
|
|
1453
1462
|
res_headers = res.headers
|
|
@@ -1458,6 +1467,20 @@ class VastdbApi:
|
|
|
1458
1467
|
|
|
1459
1468
|
return columns, next_key, is_truncated, count
|
|
1460
1469
|
|
|
1470
|
+
def list_columns(self, bucket, schema, table, *, txid=0, client_tags=None, max_keys=None, next_key=0,
|
|
1471
|
+
count_only=False, name_prefix="", exact_match=False,
|
|
1472
|
+
expected_retvals=None, bc_list_internals=False, list_imports_table=False):
|
|
1473
|
+
return self._list_columns_internal('column', bucket, schema, table, txid, client_tags, max_keys, next_key,
|
|
1474
|
+
count_only, name_prefix, exact_match, expected_retvals, bc_list_internals,
|
|
1475
|
+
list_imports_table)
|
|
1476
|
+
|
|
1477
|
+
def list_sorted_columns(self, bucket, schema, table, *, txid=0, client_tags=None, max_keys=None, next_key=0,
|
|
1478
|
+
count_only=False, name_prefix="", exact_match=False,
|
|
1479
|
+
expected_retvals=None, bc_list_internals=False, list_imports_table=False):
|
|
1480
|
+
return self._list_columns_internal('sorted-columns', bucket, schema, table, txid, client_tags, max_keys, next_key,
|
|
1481
|
+
count_only, name_prefix, exact_match, expected_retvals, bc_list_internals,
|
|
1482
|
+
list_imports_table)
|
|
1483
|
+
|
|
1461
1484
|
def head_bucket(self, bucket_name):
|
|
1462
1485
|
"""
|
|
1463
1486
|
Reimplemented, instead of depending on boto3 for checking the existence of a bucket.
|
|
@@ -1596,7 +1619,7 @@ class VastdbApi:
|
|
|
1596
1619
|
source_files: list of (bucket_name, file_name)
|
|
1597
1620
|
"""
|
|
1598
1621
|
def import_data(self, bucket, schema, table, source_files, txid=0, client_tags=[], expected_retvals=[], case_sensitive=True,
|
|
1599
|
-
schedule_id=None, retry_count=0, blocking=True):
|
|
1622
|
+
schedule_id=None, retry_count=0, blocking=True, key_names=[]):
|
|
1600
1623
|
"""
|
|
1601
1624
|
POST /mybucket/myschema/mytable?data HTTP/1.1
|
|
1602
1625
|
Content-Length: ContentLength
|
|
@@ -1638,8 +1661,23 @@ class VastdbApi:
|
|
|
1638
1661
|
builder.PrependUOffsetTRelative(f)
|
|
1639
1662
|
|
|
1640
1663
|
files = builder.EndVector()
|
|
1664
|
+
|
|
1665
|
+
key_names_arr = []
|
|
1666
|
+
for key in key_names:
|
|
1667
|
+
kname = builder.CreateString(key)
|
|
1668
|
+
import_key_name.Start(builder)
|
|
1669
|
+
import_key_name.AddName(builder, kname)
|
|
1670
|
+
key_names_arr.append(import_key_name.End(builder))
|
|
1671
|
+
|
|
1672
|
+
tabular_import_data.StartKeyNamesVector(builder, len(key_names_arr))
|
|
1673
|
+
for key in reversed(key_names_arr):
|
|
1674
|
+
builder.PrependUOffsetTRelative(key)
|
|
1675
|
+
|
|
1676
|
+
key_names_vec = builder.EndVector()
|
|
1677
|
+
|
|
1641
1678
|
tabular_import_data.Start(builder)
|
|
1642
1679
|
tabular_import_data.AddS3Files(builder, files)
|
|
1680
|
+
tabular_import_data.AddKeyNames(builder, key_names_vec)
|
|
1643
1681
|
params = tabular_import_data.End(builder)
|
|
1644
1682
|
builder.Finish(params)
|
|
1645
1683
|
import_req = builder.Output()
|
|
@@ -1953,6 +1991,49 @@ class QueryDataInternalError(Exception):
|
|
|
1953
1991
|
pass
|
|
1954
1992
|
|
|
1955
1993
|
|
|
1994
|
+
def read_first_batch(fileobj):
|
|
1995
|
+
readers = {} # {stream_id: pa.ipc.RecordBatchStreamReader}
|
|
1996
|
+
while True:
|
|
1997
|
+
stream_id_bytes = fileobj.read(4)
|
|
1998
|
+
if not stream_id_bytes:
|
|
1999
|
+
if readers:
|
|
2000
|
+
raise EOFError(f'no readers ({readers}) should be open at EOF')
|
|
2001
|
+
break
|
|
2002
|
+
|
|
2003
|
+
stream_id, = struct.unpack('<L', stream_id_bytes)
|
|
2004
|
+
if stream_id == TABULAR_KEEP_ALIVE_STREAM_ID:
|
|
2005
|
+
continue
|
|
2006
|
+
|
|
2007
|
+
if stream_id == TABULAR_QUERY_DATA_COMPLETED_STREAM_ID:
|
|
2008
|
+
# read the terminating end chunk from socket
|
|
2009
|
+
res = fileobj.read()
|
|
2010
|
+
_logger.debug("stream_id=%d res=%s (finish)", stream_id, res)
|
|
2011
|
+
return None
|
|
2012
|
+
|
|
2013
|
+
if stream_id == TABULAR_QUERY_DATA_FAILED_STREAM_ID:
|
|
2014
|
+
# read the terminating end chunk from socket
|
|
2015
|
+
res = fileobj.read()
|
|
2016
|
+
_logger.debug("stream_id=%d res=%s (failed)", stream_id, res)
|
|
2017
|
+
raise QueryDataInternalError() # connection closed by server due to an internal error
|
|
2018
|
+
|
|
2019
|
+
next_row_id_bytes = fileobj.read(8)
|
|
2020
|
+
next_row_id, = struct.unpack('<Q', next_row_id_bytes)
|
|
2021
|
+
_logger.debug("stream_id=%d next_row_id=%d", stream_id, next_row_id)
|
|
2022
|
+
|
|
2023
|
+
if stream_id not in readers:
|
|
2024
|
+
# we implicitly read 1st message (Arrow schema) when constructing RecordBatchStreamReader
|
|
2025
|
+
reader = pa.ipc.RecordBatchStreamReader(fileobj)
|
|
2026
|
+
_logger.debug("stream_id=%d schema=%s", stream_id, reader.schema)
|
|
2027
|
+
readers[stream_id] = reader
|
|
2028
|
+
continue
|
|
2029
|
+
|
|
2030
|
+
reader = readers[stream_id]
|
|
2031
|
+
try:
|
|
2032
|
+
return reader.read_next_batch() # read single-column chunk data
|
|
2033
|
+
except StopIteration: # we got an end-of-stream IPC message for a given stream ID
|
|
2034
|
+
return None
|
|
2035
|
+
|
|
2036
|
+
|
|
1956
2037
|
def _iter_query_data_response_columns(fileobj, stream_ids=None):
|
|
1957
2038
|
readers = {} # {stream_id: pa.ipc.RecordBatchStreamReader}
|
|
1958
2039
|
while True:
|
|
@@ -10,11 +10,11 @@ log = logging.getLogger(__name__)
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
@pytest.mark.benchmark
|
|
13
|
-
def test_bench(session,
|
|
13
|
+
def test_bench(session, test_bucket_name, parquets_path, crater_path):
|
|
14
14
|
files = [str(parquets_path / f) for f in (parquets_path.glob('**/*.pq'))]
|
|
15
15
|
|
|
16
16
|
with session.transaction() as tx:
|
|
17
|
-
b = tx.bucket(
|
|
17
|
+
b = tx.bucket(test_bucket_name)
|
|
18
18
|
s = b.create_schema('s1')
|
|
19
19
|
t = util.create_table_from_files(s, 't1', files, config=ImportConfig(import_concurrency=8))
|
|
20
20
|
config = QueryConfig(num_splits=8, num_sub_splits=4)
|
|
@@ -17,6 +17,7 @@ class HttpStatus(Enum):
|
|
|
17
17
|
INTERNAL_SERVER_ERROR = 500
|
|
18
18
|
NOT_IMPLEMENTED = 501
|
|
19
19
|
SERVICE_UNAVAILABLE = 503
|
|
20
|
+
INSUFFICIENT_CAPACITY = 507
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
log = logging.getLogger(__name__)
|
|
@@ -79,6 +80,10 @@ class UnexpectedError(HttpError):
|
|
|
79
80
|
pass
|
|
80
81
|
|
|
81
82
|
|
|
83
|
+
class InsufficientCapacity(HttpError):
|
|
84
|
+
pass
|
|
85
|
+
|
|
86
|
+
|
|
82
87
|
@dataclass
|
|
83
88
|
class ImportFilesError(Exception):
|
|
84
89
|
message: str
|
|
@@ -197,6 +202,7 @@ ERROR_TYPES_MAP = {
|
|
|
197
202
|
HttpStatus.INTERNAL_SERVER_ERROR: InternalServerError,
|
|
198
203
|
HttpStatus.NOT_IMPLEMENTED: NotImplemented,
|
|
199
204
|
HttpStatus.SERVICE_UNAVAILABLE: handle_unavailable,
|
|
205
|
+
HttpStatus.INSUFFICIENT_CAPACITY: InsufficientCapacity,
|
|
200
206
|
}
|
|
201
207
|
|
|
202
208
|
|
|
@@ -13,6 +13,7 @@ class Features:
|
|
|
13
13
|
def __init__(self, vast_version):
|
|
14
14
|
"""Save the server version."""
|
|
15
15
|
self.vast_version = vast_version
|
|
16
|
+
log.info("VAST version: %s", self.vast_version)
|
|
16
17
|
|
|
17
18
|
self.check_imports_table = self._check(
|
|
18
19
|
"Imported objects' table feature requires 5.2+ VAST release",
|
|
@@ -30,6 +31,14 @@ class Features:
|
|
|
30
31
|
"External row IDs allocation requires 5.1+ VAST release",
|
|
31
32
|
vast_version >= (5, 1))
|
|
32
33
|
|
|
34
|
+
self.check_elysium = self._check(
|
|
35
|
+
"Elysium requires 5.3.5+ VAST release",
|
|
36
|
+
vast_version >= (5, 3, 5))
|
|
37
|
+
|
|
38
|
+
self.check_zip_import = self._check(
|
|
39
|
+
"Zip import requires 5.3.1+ VAST release",
|
|
40
|
+
vast_version >= (5, 3, 1))
|
|
41
|
+
|
|
33
42
|
def _check(self, msg, supported):
|
|
34
43
|
log.debug("%s (current version is %s): supported=%s", msg, self.vast_version, supported)
|
|
35
44
|
if not supported:
|
|
@@ -76,7 +76,8 @@ class Schema:
|
|
|
76
76
|
break
|
|
77
77
|
return result
|
|
78
78
|
|
|
79
|
-
def create_table(self, table_name: str, columns: pa.Schema, fail_if_exists=True,
|
|
79
|
+
def create_table(self, table_name: str, columns: pa.Schema, fail_if_exists=True,
|
|
80
|
+
use_external_row_ids_allocation=False, sorting_key=[]) -> "Table":
|
|
80
81
|
"""Create a new table under this schema.
|
|
81
82
|
|
|
82
83
|
A virtual `vastdb_rowid` column (of `int64` type) can be created to access and filter by internal VAST row IDs.
|
|
@@ -91,7 +92,8 @@ class Schema:
|
|
|
91
92
|
self.tx._rpc.features.check_external_row_ids_allocation()
|
|
92
93
|
|
|
93
94
|
self.tx._rpc.api.create_table(self.bucket.name, self.name, table_name, columns, txid=self.tx.txid,
|
|
94
|
-
use_external_row_ids_allocation=use_external_row_ids_allocation
|
|
95
|
+
use_external_row_ids_allocation=use_external_row_ids_allocation,
|
|
96
|
+
sorting_key=sorting_key)
|
|
95
97
|
log.info("Created table: %s", table_name)
|
|
96
98
|
return self.table(table_name) # type: ignore[return-value]
|
|
97
99
|
|
|
@@ -149,4 +151,4 @@ class Schema:
|
|
|
149
151
|
|
|
150
152
|
|
|
151
153
|
def _parse_table_info(table_info, schema: "schema.Schema"):
|
|
152
|
-
return table.Table(name=table_info.name, schema=schema, handle=int(table_info.handle), _imports_table=False)
|
|
154
|
+
return table.Table(name=table_info.name, schema=schema, handle=int(table_info.handle), _imports_table=False, sorted_table=table_info.sorting_key_enabled)
|