vastdb 1.1.0__tar.gz → 1.1.1__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.1.0 → vastdb-1.1.1}/CHANGELOG.md +11 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/PKG-INFO +1 -2
- {vastdb-1.1.0 → vastdb-1.1.1}/README.md +51 -41
- {vastdb-1.1.0 → vastdb-1.1.1}/requirements.txt +0 -1
- {vastdb-1.1.0 → vastdb-1.1.1}/setup.py +1 -1
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/_internal.py +9 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/test_sample.py +4 -2
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/conftest.py +1 -1
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/session.py +0 -6
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/table.py +1 -1
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_tables.py +13 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/transaction.py +4 -8
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/util.py +5 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb.egg-info/PKG-INFO +1 -2
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb.egg-info/requires.txt +0 -1
- {vastdb-1.1.0 → vastdb-1.1.1}/CONTRIBUTING.md +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/LICENSE +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/MANIFEST.in +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/setup.cfg +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Aggregate.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySlice.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySubscript.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BinaryLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BooleanLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Bound.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Call.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CaseFragment.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Cast.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConcreteBoundImpl.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConditionalCase.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CurrentRow.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DateLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DecimalLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Deref.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DurationLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Expression.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ExpressionImpl.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FieldIndex.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FieldRef.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Filter.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FixedSizeBinaryLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float16Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float32Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float64Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Following.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Frame.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Grouping.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int16Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int32Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int64Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int8Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralDaysMilliseconds.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralImpl.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralMonths.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Join.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/JoinKind.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/KeyValue.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Limit.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ListLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralColumn.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralImpl.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralRelation.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/MapKey.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/MapLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/OrderBy.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Ordering.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Plan.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Preceding.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Project.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelId.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Relation.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelationImpl.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOpKind.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOperation.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SimpleCase.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SortKey.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Source.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StringLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructField.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimeLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimestampLiteral.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt16Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt32Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt64Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt8Literal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Unbounded.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/WindowCall.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Binary.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Block.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompression.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompressionMethod.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Bool.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Buffer.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/CompressionType.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Date.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/DateUnit.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Decimal.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryBatch.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryEncoding.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryKind.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Duration.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Endianness.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Feature.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Field.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/FieldNode.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/FixedSizeBinary.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/FixedSizeList.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/FloatingPoint.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Footer.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Int.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Interval.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/IntervalUnit.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/KeyValue.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/LargeBinary.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/LargeList.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/LargeUtf8.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/List.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Map.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Message.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/MessageHeader.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/MetadataVersion.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Null.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Precision.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/RecordBatch.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Schema.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/SparseMatrixCompressedAxis.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/SparseMatrixIndexCSX.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensor.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndex.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndexCOO.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndexCSF.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Struct_.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Tensor.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/TensorDim.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Time.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/TimeUnit.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Timestamp.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Type.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Union.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/UnionMode.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/Utf8.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/AlterColumnRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/AlterProjectionTableRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/AlterSchemaRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/AlterTableRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/Column.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/ColumnType.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/CreateProjectionRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/CreateSchemaRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/GetProjectionTableStatsResponse.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/GetTableStatsResponse.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/ImportDataRequest.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/ListProjectionsResponse.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/ListSchemasResponse.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/ListTablesResponse.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/ObjectDetails.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/S3File.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/VipRange.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/tabular/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/bench_repo/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/bench_repo/mega_combo.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/cli.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/common/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/common/constants.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/common/log_utils.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/common/types.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/common/utils.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/dataset/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/dataset/generate_secmaster.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/dataset/generate_stocks_dataset.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/dataset/schemas.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/dataset/secmaster.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/orchestrate/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/orchestrate/bench_spec.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/orchestrate/results_helpers.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/orchestrate/scenario.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/orchestrate/scenario_generator.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/query/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/query/arrow_common.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/query/query.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/query/query_pyarrow.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/query/query_vastdb.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/perf_bench/run.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bench/test_perf.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/bucket.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/config.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/errors.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/features.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/schema.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/metrics.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_duckdb.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_imports.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_nested.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_projections.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_sanity.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_schemas.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/test_util.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/tests/util.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/vast_tests/__init__.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/vast_tests/test_ha.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb/vast_tests/test_scale.py +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb.egg-info/SOURCES.txt +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb.egg-info/dependency_links.txt +0 -0
- {vastdb-1.1.0 → vastdb-1.1.1}/vastdb.egg-info/top_level.txt +0 -0
|
@@ -4,6 +4,17 @@ 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.1.1] (2024-08-11)
|
|
8
|
+
[1.1.1]: https://github.com/vast-data/vastdb_sdk/compare/v1.1.0...v1.1.1
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Combine record batches when inserting `pyarrow.Table`
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- Don't require `boto3` for checking bucket existence
|
|
15
|
+
- Improve documentation
|
|
16
|
+
|
|
17
|
+
|
|
7
18
|
## [1.1.0] (2024-07-25)
|
|
8
19
|
[1.1.0]: https://github.com/vast-data/vastdb_sdk/compare/v1.0.0...v1.1.0
|
|
9
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vastdb
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: VAST Data SDK
|
|
5
5
|
Home-page: https://github.com/vast-data/vastdb_sdk
|
|
6
6
|
Author: VAST DATA
|
|
@@ -19,7 +19,6 @@ Requires-Python: >=3.9.0
|
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: aws-requests-auth
|
|
22
|
-
Requires-Dist: boto3
|
|
23
22
|
Requires-Dist: flatbuffers
|
|
24
23
|
Requires-Dist: ibis-framework==9.0.0
|
|
25
24
|
Requires-Dist: pyarrow
|
|
@@ -4,24 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
## Introduction
|
|
6
6
|
|
|
7
|
-
`vastdb` is a Python-based SDK designed for interacting with [VAST Database](https://vastdata.com/database)
|
|
7
|
+
`vastdb` is a Python-based SDK designed for interacting with a [VAST Database](https://vastdata.com/database) and the [VAST Catalog](https://vastdata.com/blog/vast-catalog-treat-your-file-system-like-a-database), enabling schema and table management, efficient ingest, query, and modification of columnar data.
|
|
8
|
+
|
|
9
|
+
For more details about the VAST Database, see [this whitepaper](https://vastdata.com/whitepaper/#TheVASTDataBase).
|
|
8
10
|
|
|
9
11
|
[](https://vastdata.com/database)
|
|
10
12
|
|
|
11
|
-
## Getting
|
|
13
|
+
## Getting Started
|
|
12
14
|
|
|
13
15
|
### Requirements
|
|
14
16
|
|
|
15
|
-
- Linux client with Python 3.9
|
|
17
|
+
- Linux client with Python 3.9 or later, and network access to the VAST Cluster
|
|
16
18
|
- [Virtual IP pool configured with DNS service](https://support.vastdata.com/s/topic/0TOV40000000FThOAM/configuring-network-access-v50)
|
|
17
|
-
- [S3 access & secret keys on VAST cluster](https://support.vastdata.com/s/article/UUID-4d2e7e23-b2fb-7900-d98f-96c31a499626)
|
|
19
|
+
- [S3 access & secret keys on the VAST cluster](https://support.vastdata.com/s/article/UUID-4d2e7e23-b2fb-7900-d98f-96c31a499626)
|
|
18
20
|
- [Tabular identity policy with the proper permissions](https://support.vastdata.com/s/article/UUID-14322b60-d6a2-89ac-3df0-3dfbb6974182)
|
|
19
21
|
|
|
20
|
-
### Required VAST release
|
|
22
|
+
### Required VAST Cluster release
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
VAST DB Python SDK requires VAST Cluster release `5.0.0-sp10` or later.
|
|
23
25
|
|
|
24
|
-
If
|
|
26
|
+
If your VAST Cluster is running an older release, please contact customer.support@vastdata.com.
|
|
25
27
|
|
|
26
28
|
### Installation
|
|
27
29
|
|
|
@@ -29,11 +31,11 @@ If the cluster is running an older VAST release, please contact customer.support
|
|
|
29
31
|
pip install vastdb
|
|
30
32
|
```
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
See the [Release Notes](CHANGELOG.md) for the SDK.
|
|
33
35
|
|
|
34
|
-
###
|
|
36
|
+
### Quick Start
|
|
35
37
|
|
|
36
|
-
|
|
38
|
+
Create schemas and tables, basic inserts, and selects:
|
|
37
39
|
|
|
38
40
|
```python
|
|
39
41
|
import pyarrow as pa
|
|
@@ -74,11 +76,15 @@ with session.transaction() as tx:
|
|
|
74
76
|
# the transaction is automatically committed when exiting the context
|
|
75
77
|
```
|
|
76
78
|
|
|
79
|
+
For configuration examples, see [here](docs/config.md).
|
|
80
|
+
|
|
77
81
|
Note: the transaction must be remain open while the returned [pyarrow.RecordBatchReader](https://arrow.apache.org/docs/python/generated/pyarrow.RecordBatchReader.html) generator is being used.
|
|
78
82
|
|
|
79
|
-
##
|
|
83
|
+
## Use Cases
|
|
84
|
+
|
|
85
|
+
### Filters and Projections
|
|
80
86
|
|
|
81
|
-
|
|
87
|
+
The SDK supports predicate and projection pushdown:
|
|
82
88
|
|
|
83
89
|
```python
|
|
84
90
|
from ibis import _
|
|
@@ -97,9 +103,9 @@ Our SDK supports predicate and projection pushdown:
|
|
|
97
103
|
|
|
98
104
|
See [here for more details](docs/predicate.md).
|
|
99
105
|
|
|
100
|
-
|
|
106
|
+
### Import a single Parquet file via S3 protocol
|
|
101
107
|
|
|
102
|
-
|
|
108
|
+
You can efficiently create tables from Parquet files (without copying them via the client):
|
|
103
109
|
|
|
104
110
|
```python
|
|
105
111
|
with tempfile.NamedTemporaryFile() as f:
|
|
@@ -112,9 +118,9 @@ It is possible to efficiently create a table from a Parquet file (without copyin
|
|
|
112
118
|
parquet_files=['/bucket-name/staging/file.parquet'])
|
|
113
119
|
```
|
|
114
120
|
|
|
115
|
-
|
|
121
|
+
### Import multiple Parquet files concurrently via S3 protocol
|
|
116
122
|
|
|
117
|
-
|
|
123
|
+
Import multiple files concurrently into a table (by using multiple CNodes' cores):
|
|
118
124
|
|
|
119
125
|
```python
|
|
120
126
|
schema = tx.bucket('bucket-name').schema('schema-name')
|
|
@@ -123,6 +129,27 @@ We can import multiple files concurrently into a table (by utilizing multiple CN
|
|
|
123
129
|
parquet_files=[f'/bucket-name/staging/file{i}.parquet' for i in range(10)])
|
|
124
130
|
```
|
|
125
131
|
|
|
132
|
+
|
|
133
|
+
### Semi-sorted Projections
|
|
134
|
+
|
|
135
|
+
Create, list and delete [available semi-sorted projections](https://support.vastdata.com/s/article/UUID-e4ca42ab-d15b-6b72-bd6b-f3c77b455de4):
|
|
136
|
+
|
|
137
|
+
```python
|
|
138
|
+
p = table.create_projection('proj', sorted=['c3'], unsorted=['c1'])
|
|
139
|
+
print(table.projections())
|
|
140
|
+
print(p.get_stats())
|
|
141
|
+
p.drop()
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Snapshots
|
|
145
|
+
|
|
146
|
+
You can access the VAST Database using [snapshots](https://vastdata.com/blog/bringing-snapshots-to-vasts-element-store):
|
|
147
|
+
|
|
148
|
+
```python
|
|
149
|
+
snaps = bucket.list_snapshots()
|
|
150
|
+
batches = snaps[0].schema('schema-name').table('table-name').select()
|
|
151
|
+
```
|
|
152
|
+
|
|
126
153
|
## Post-processing
|
|
127
154
|
|
|
128
155
|
### Export
|
|
@@ -136,9 +163,9 @@ with contextlib.closing(pa.parquet.ParquetWriter('/path/to/file.parquet', batche
|
|
|
136
163
|
writer.write_batch(batch)
|
|
137
164
|
```
|
|
138
165
|
|
|
139
|
-
### DuckDB
|
|
166
|
+
### DuckDB Integration
|
|
140
167
|
|
|
141
|
-
|
|
168
|
+
Use [DuckDB](https://duckdb.org/docs/guides/python/sql_on_arrow.html) to post-process the resulting stream of [PyArrow record batches](https://arrow.apache.org/docs/python/data.html#record-batches):
|
|
142
169
|
|
|
143
170
|
```python
|
|
144
171
|
from ibis import _
|
|
@@ -152,31 +179,11 @@ with session.transaction() as tx:
|
|
|
152
179
|
print(conn.execute("SELECT sum(c1) FROM batches").arrow())
|
|
153
180
|
```
|
|
154
181
|
|
|
155
|
-
Note: the transaction must be active while DuckDB query is executing and fetching results using the Python SDK.
|
|
156
|
-
|
|
157
|
-
## Semi-sorted projections
|
|
158
|
-
|
|
159
|
-
We can create, list and delete [available semi-sorted projections](https://support.vastdata.com/s/article/UUID-e4ca42ab-d15b-6b72-bd6b-f3c77b455de4):
|
|
160
|
-
|
|
161
|
-
```python
|
|
162
|
-
p = table.create_projection('proj', sorted=['c3'], unsorted=['c1'])
|
|
163
|
-
print(table.projections())
|
|
164
|
-
print(p.get_stats())
|
|
165
|
-
p.drop()
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
## Snapshots
|
|
169
|
-
|
|
170
|
-
It is possible to use [snapshots](https://vastdata.com/blog/bringing-snapshots-to-vasts-element-store) for accessing the Database:
|
|
171
|
-
|
|
172
|
-
```python
|
|
173
|
-
snaps = bucket.list_snapshots()
|
|
174
|
-
batches = snaps[0].schema('schema-name').table('table-name').select()
|
|
175
|
-
```
|
|
182
|
+
Note: the transaction must be active while the DuckDB query is executing and fetching results using the Python SDK.
|
|
176
183
|
|
|
177
184
|
## VAST Catalog
|
|
178
185
|
|
|
179
|
-
[VAST Catalog](https://vastdata.com/blog/vast-catalog-treat-your-file-system-like-a-database) can be queried as a regular table:
|
|
186
|
+
The [VAST Catalog](https://vastdata.com/blog/vast-catalog-treat-your-file-system-like-a-database) can be queried as a regular table:
|
|
180
187
|
|
|
181
188
|
```python
|
|
182
189
|
import pyarrow as pa
|
|
@@ -201,8 +208,11 @@ with session.transaction() as tx:
|
|
|
201
208
|
print("Distinct element types on the system:")
|
|
202
209
|
print(distinct_elements)
|
|
203
210
|
```
|
|
211
|
+
## More Information
|
|
204
212
|
|
|
205
|
-
See
|
|
213
|
+
See these blog posts for more examples:
|
|
206
214
|
|
|
207
215
|
- https://vastdata.com/blog/the-vast-catalog-in-action-part-1
|
|
208
216
|
- https://vastdata.com/blog/the-vast-catalog-in-action-part-2
|
|
217
|
+
|
|
218
|
+
See also the [full Vast DB Python SDK documentation](https://vastdb-sdk.readthedocs.io/en/v1.1.0/)
|
|
@@ -1298,6 +1298,15 @@ class VastdbApi:
|
|
|
1298
1298
|
|
|
1299
1299
|
return columns, next_key, is_truncated, count
|
|
1300
1300
|
|
|
1301
|
+
def head_bucket(self, bucket_name):
|
|
1302
|
+
"""
|
|
1303
|
+
Reimplemented, instead of depending on boto3 for checking the existence of a bucket.
|
|
1304
|
+
https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadBucket.html
|
|
1305
|
+
"""
|
|
1306
|
+
return self._request(
|
|
1307
|
+
method="HEAD",
|
|
1308
|
+
url=self._url(bucket=bucket_name))
|
|
1309
|
+
|
|
1301
1310
|
def begin_transaction(self, client_tags=[], expected_retvals=[]):
|
|
1302
1311
|
"""
|
|
1303
1312
|
POST /?transaction HTTP/1.1
|
|
@@ -109,7 +109,7 @@ def load_batch(bucket, session_kwargs, offset, limit):
|
|
|
109
109
|
|
|
110
110
|
def test_ingest(test_bucket_name, session_kwargs, tabular_endpoint_urls, num_workers, perf_metrics_db):
|
|
111
111
|
session = vastdb.connect(**session_kwargs)
|
|
112
|
-
metrics_table = metrics.Table(perf_metrics_db, "
|
|
112
|
+
metrics_table = metrics.Table(perf_metrics_db, "test_ingest")
|
|
113
113
|
|
|
114
114
|
with session.transaction() as tx:
|
|
115
115
|
b = tx.bucket(test_bucket_name)
|
|
@@ -201,9 +201,11 @@ def run_query(session_kwargs, i, bucket_name, endpoint_url):
|
|
|
201
201
|
nbytes=data, rows=rows, cols=len(cols),
|
|
202
202
|
pid=pid, tid=tid, sdk_version=sdk_version))
|
|
203
203
|
|
|
204
|
+
return metrics_rows
|
|
205
|
+
|
|
204
206
|
|
|
205
207
|
def test_scan(test_bucket_name, session, num_workers, session_kwargs, tabular_endpoint_urls, perf_metrics_db):
|
|
206
|
-
metrics_table = metrics.Table(perf_metrics_db, "
|
|
208
|
+
metrics_table = metrics.Table(perf_metrics_db, "test_scan")
|
|
207
209
|
|
|
208
210
|
log.info("starting %d workers, endpoints=%s", num_workers, tabular_endpoint_urls)
|
|
209
211
|
with ProcessPoolExecutor(max_workers=num_workers) as executor:
|
|
@@ -23,8 +23,6 @@ class Session:
|
|
|
23
23
|
timeout=None,
|
|
24
24
|
backoff_config: Optional["BackoffConfig"] = None):
|
|
25
25
|
"""Connect to a VAST Database endpoint, using specified credentials."""
|
|
26
|
-
import boto3
|
|
27
|
-
|
|
28
26
|
from . import _internal, features
|
|
29
27
|
|
|
30
28
|
if access is None:
|
|
@@ -42,10 +40,6 @@ class Session:
|
|
|
42
40
|
timeout=timeout,
|
|
43
41
|
backoff_config=backoff_config)
|
|
44
42
|
self.features = features.Features(self.api.vast_version)
|
|
45
|
-
self.s3 = boto3.client('s3',
|
|
46
|
-
aws_access_key_id=access,
|
|
47
|
-
aws_secret_access_key=secret,
|
|
48
|
-
endpoint_url=endpoint)
|
|
49
43
|
|
|
50
44
|
def __repr__(self):
|
|
51
45
|
"""Don't show the secret key."""
|
|
@@ -439,7 +439,7 @@ class Table:
|
|
|
439
439
|
self.update(rows=column_record_batch, columns=columns_name_chunk)
|
|
440
440
|
return row_ids
|
|
441
441
|
|
|
442
|
-
def insert(self, rows: pa.RecordBatch):
|
|
442
|
+
def insert(self, rows: Union[pa.RecordBatch, pa.Table]):
|
|
443
443
|
"""Insert a RecordBatch into this table."""
|
|
444
444
|
if self._imports_table:
|
|
445
445
|
raise errors.NotSupportedCommand(self.bucket.name, self.schema.name, self.name)
|
|
@@ -81,6 +81,19 @@ def test_insert_wide_row(session, clean_bucket_name):
|
|
|
81
81
|
assert actual == expected
|
|
82
82
|
|
|
83
83
|
|
|
84
|
+
def test_multi_batch_table(session, clean_bucket_name):
|
|
85
|
+
columns = pa.schema([pa.field('s', pa.utf8())])
|
|
86
|
+
expected = pa.Table.from_batches([
|
|
87
|
+
pa.record_batch(schema=columns, data=[['a']]),
|
|
88
|
+
pa.record_batch(schema=columns, data=[['b']]),
|
|
89
|
+
pa.record_batch(schema=columns, data=[['c']]),
|
|
90
|
+
])
|
|
91
|
+
|
|
92
|
+
with prepare_data(session, clean_bucket_name, 's', 't', expected) as t:
|
|
93
|
+
actual = t.select().read_all()
|
|
94
|
+
assert actual == expected
|
|
95
|
+
|
|
96
|
+
|
|
84
97
|
def test_insert_empty(session, clean_bucket_name):
|
|
85
98
|
columns = pa.schema([('a', pa.int8()), ('b', pa.float32())])
|
|
86
99
|
data = [[None] * 5, [None] * 5]
|
|
@@ -10,8 +10,6 @@ import logging
|
|
|
10
10
|
from dataclasses import dataclass
|
|
11
11
|
from typing import TYPE_CHECKING, Iterable, Optional
|
|
12
12
|
|
|
13
|
-
import botocore
|
|
14
|
-
|
|
15
13
|
from . import bucket, errors, schema, session
|
|
16
14
|
|
|
17
15
|
if TYPE_CHECKING:
|
|
@@ -64,12 +62,10 @@ class Transaction:
|
|
|
64
62
|
def bucket(self, name: str) -> "Bucket":
|
|
65
63
|
"""Return a VAST Bucket, if exists."""
|
|
66
64
|
try:
|
|
67
|
-
self._rpc.
|
|
68
|
-
except
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
raise errors.MissingBucket(name) from e
|
|
72
|
-
raise
|
|
65
|
+
self._rpc.api.head_bucket(name)
|
|
66
|
+
except errors.NotFound as e:
|
|
67
|
+
raise errors.MissingBucket(name) from e
|
|
68
|
+
|
|
73
69
|
return bucket.Bucket(name, self)
|
|
74
70
|
|
|
75
71
|
def catalog_snapshots(self) -> Iterable["Bucket"]:
|
|
@@ -114,6 +114,11 @@ def iter_serialized_slices(batch: Union[pa.RecordBatch, pa.Table], max_rows_per_
|
|
|
114
114
|
|
|
115
115
|
def serialize_record_batch(batch: Union[pa.RecordBatch, pa.Table]):
|
|
116
116
|
"""Serialize a RecordBatch using Arrow IPC format."""
|
|
117
|
+
if isinstance(batch, pa.Table):
|
|
118
|
+
if len(batch.to_batches()) > 1:
|
|
119
|
+
# the server expects a single RecordBatch per request
|
|
120
|
+
batch = batch.combine_chunks()
|
|
121
|
+
|
|
117
122
|
sink = pa.BufferOutputStream()
|
|
118
123
|
with pa.ipc.new_stream(sink, batch.schema) as writer:
|
|
119
124
|
writer.write(batch)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vastdb
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: VAST Data SDK
|
|
5
5
|
Home-page: https://github.com/vast-data/vastdb_sdk
|
|
6
6
|
Author: VAST DATA
|
|
@@ -19,7 +19,6 @@ Requires-Python: >=3.9.0
|
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: aws-requests-auth
|
|
22
|
-
Requires-Dist: boto3
|
|
23
22
|
Requires-Dist: flatbuffers
|
|
24
23
|
Requires-Dist: ibis-framework==9.0.0
|
|
25
24
|
Requires-Dist: pyarrow
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySubscript.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BinaryLiteral.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BooleanLiteral.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CaseFragment.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConcreteBoundImpl.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConditionalCase.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DateLiteral.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DecimalLiteral.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DurationLiteral.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ExpressionImpl.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float16Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float32Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float64Literal.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int16Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int32Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int64Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int8Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteral.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralImpl.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ListLiteral.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralColumn.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralImpl.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralRelation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelationImpl.py
RENAMED
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOperation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StringLiteral.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructField.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructLiteral.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimeLiteral.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimestampLiteral.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt16Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt32Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt64Literal.py
RENAMED
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt8Literal.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vastdb-1.1.0 → vastdb-1.1.1}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompressionMethod.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|