vastdb 0.1.8__tar.gz → 0.1.9__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.
Files changed (187) hide show
  1. {vastdb-0.1.8 → vastdb-0.1.9}/CHANGELOG.md +8 -0
  2. {vastdb-0.1.8/vastdb.egg-info → vastdb-0.1.9}/PKG-INFO +1 -1
  3. {vastdb-0.1.8 → vastdb-0.1.9}/README.md +18 -9
  4. {vastdb-0.1.8 → vastdb-0.1.9}/setup.py +1 -1
  5. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/errors.py +6 -0
  6. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/schema.py +2 -1
  7. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/table.py +3 -0
  8. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_tables.py +40 -0
  9. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/util.py +8 -1
  10. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/vast_tests/test_ha.py +1 -1
  11. {vastdb-0.1.8 → vastdb-0.1.9/vastdb.egg-info}/PKG-INFO +1 -1
  12. {vastdb-0.1.8 → vastdb-0.1.9}/LICENSE +0 -0
  13. {vastdb-0.1.8 → vastdb-0.1.9}/MANIFEST.in +0 -0
  14. {vastdb-0.1.8 → vastdb-0.1.9}/requirements.txt +0 -0
  15. {vastdb-0.1.8 → vastdb-0.1.9}/setup.cfg +0 -0
  16. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/__init__.py +0 -0
  17. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/__init__.py +0 -0
  18. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/__init__.py +0 -0
  19. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/__init__.py +0 -0
  20. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/__init__.py +0 -0
  21. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Aggregate.py +0 -0
  22. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySlice.py +0 -0
  23. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ArraySubscript.py +0 -0
  24. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BinaryLiteral.py +0 -0
  25. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/BooleanLiteral.py +0 -0
  26. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Bound.py +0 -0
  27. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Call.py +0 -0
  28. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CaseFragment.py +0 -0
  29. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Cast.py +0 -0
  30. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConcreteBoundImpl.py +0 -0
  31. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ConditionalCase.py +0 -0
  32. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/CurrentRow.py +0 -0
  33. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DateLiteral.py +0 -0
  34. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DecimalLiteral.py +0 -0
  35. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Deref.py +0 -0
  36. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/DurationLiteral.py +0 -0
  37. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Expression.py +0 -0
  38. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ExpressionImpl.py +0 -0
  39. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FieldIndex.py +0 -0
  40. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FieldRef.py +0 -0
  41. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Filter.py +0 -0
  42. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/FixedSizeBinaryLiteral.py +0 -0
  43. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float16Literal.py +0 -0
  44. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float32Literal.py +0 -0
  45. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Float64Literal.py +0 -0
  46. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Following.py +0 -0
  47. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Frame.py +0 -0
  48. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Grouping.py +0 -0
  49. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int16Literal.py +0 -0
  50. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int32Literal.py +0 -0
  51. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int64Literal.py +0 -0
  52. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Int8Literal.py +0 -0
  53. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteral.py +0 -0
  54. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralDaysMilliseconds.py +0 -0
  55. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralImpl.py +0 -0
  56. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/IntervalLiteralMonths.py +0 -0
  57. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Join.py +0 -0
  58. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/JoinKind.py +0 -0
  59. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/KeyValue.py +0 -0
  60. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Limit.py +0 -0
  61. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/ListLiteral.py +0 -0
  62. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Literal.py +0 -0
  63. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralColumn.py +0 -0
  64. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralImpl.py +0 -0
  65. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/LiteralRelation.py +0 -0
  66. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/MapKey.py +0 -0
  67. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/MapLiteral.py +0 -0
  68. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/OrderBy.py +0 -0
  69. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Ordering.py +0 -0
  70. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Plan.py +0 -0
  71. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Preceding.py +0 -0
  72. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Project.py +0 -0
  73. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelId.py +0 -0
  74. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Relation.py +0 -0
  75. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/RelationImpl.py +0 -0
  76. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOpKind.py +0 -0
  77. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SetOperation.py +0 -0
  78. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SimpleCase.py +0 -0
  79. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/SortKey.py +0 -0
  80. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Source.py +0 -0
  81. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StringLiteral.py +0 -0
  82. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructField.py +0 -0
  83. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/StructLiteral.py +0 -0
  84. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimeLiteral.py +0 -0
  85. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/TimestampLiteral.py +0 -0
  86. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt16Literal.py +0 -0
  87. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt32Literal.py +0 -0
  88. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt64Literal.py +0 -0
  89. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/UInt8Literal.py +0 -0
  90. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/Unbounded.py +0 -0
  91. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/WindowCall.py +0 -0
  92. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/computeir/flatbuf/__init__.py +0 -0
  93. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Binary.py +0 -0
  94. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Block.py +0 -0
  95. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompression.py +0 -0
  96. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/BodyCompressionMethod.py +0 -0
  97. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Bool.py +0 -0
  98. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Buffer.py +0 -0
  99. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/CompressionType.py +0 -0
  100. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Date.py +0 -0
  101. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/DateUnit.py +0 -0
  102. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Decimal.py +0 -0
  103. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryBatch.py +0 -0
  104. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryEncoding.py +0 -0
  105. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/DictionaryKind.py +0 -0
  106. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Duration.py +0 -0
  107. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Endianness.py +0 -0
  108. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Feature.py +0 -0
  109. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Field.py +0 -0
  110. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/FieldNode.py +0 -0
  111. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/FixedSizeBinary.py +0 -0
  112. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/FixedSizeList.py +0 -0
  113. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/FloatingPoint.py +0 -0
  114. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Footer.py +0 -0
  115. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Int.py +0 -0
  116. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Interval.py +0 -0
  117. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/IntervalUnit.py +0 -0
  118. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/KeyValue.py +0 -0
  119. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/LargeBinary.py +0 -0
  120. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/LargeList.py +0 -0
  121. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/LargeUtf8.py +0 -0
  122. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/List.py +0 -0
  123. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Map.py +0 -0
  124. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Message.py +0 -0
  125. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/MessageHeader.py +0 -0
  126. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/MetadataVersion.py +0 -0
  127. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Null.py +0 -0
  128. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Precision.py +0 -0
  129. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/RecordBatch.py +0 -0
  130. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Schema.py +0 -0
  131. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/SparseMatrixCompressedAxis.py +0 -0
  132. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/SparseMatrixIndexCSX.py +0 -0
  133. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensor.py +0 -0
  134. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndex.py +0 -0
  135. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndexCOO.py +0 -0
  136. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/SparseTensorIndexCSF.py +0 -0
  137. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Struct_.py +0 -0
  138. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Tensor.py +0 -0
  139. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/TensorDim.py +0 -0
  140. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Time.py +0 -0
  141. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/TimeUnit.py +0 -0
  142. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Timestamp.py +0 -0
  143. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Type.py +0 -0
  144. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Union.py +0 -0
  145. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/UnionMode.py +0 -0
  146. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/Utf8.py +0 -0
  147. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/org/apache/arrow/flatbuf/__init__.py +0 -0
  148. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/AlterColumnRequest.py +0 -0
  149. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/AlterProjectionTableRequest.py +0 -0
  150. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/AlterSchemaRequest.py +0 -0
  151. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/AlterTableRequest.py +0 -0
  152. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/Column.py +0 -0
  153. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/ColumnType.py +0 -0
  154. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/CreateProjectionRequest.py +0 -0
  155. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/CreateSchemaRequest.py +0 -0
  156. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/GetProjectionTableStatsResponse.py +0 -0
  157. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/GetTableStatsResponse.py +0 -0
  158. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/ImportDataRequest.py +0 -0
  159. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/ListProjectionsResponse.py +0 -0
  160. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/ListSchemasResponse.py +0 -0
  161. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/ListTablesResponse.py +0 -0
  162. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/ObjectDetails.py +0 -0
  163. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/S3File.py +0 -0
  164. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/VipRange.py +0 -0
  165. {vastdb-0.1.8 → vastdb-0.1.9}/vast_flatbuf/tabular/__init__.py +0 -0
  166. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/__init__.py +0 -0
  167. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/_internal.py +0 -0
  168. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/bench/__init__.py +0 -0
  169. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/bench/test_perf.py +0 -0
  170. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/bucket.py +0 -0
  171. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/conftest.py +0 -0
  172. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/session.py +0 -0
  173. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/__init__.py +0 -0
  174. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_duckdb.py +0 -0
  175. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_imports.py +0 -0
  176. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_nested.py +0 -0
  177. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_projections.py +0 -0
  178. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_sanity.py +0 -0
  179. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_schemas.py +0 -0
  180. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/test_util.py +0 -0
  181. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/tests/util.py +0 -0
  182. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/transaction.py +0 -0
  183. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb/vast_tests/__init__.py +0 -0
  184. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb.egg-info/SOURCES.txt +0 -0
  185. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb.egg-info/dependency_links.txt +0 -0
  186. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb.egg-info/requires.txt +0 -0
  187. {vastdb-0.1.8 → vastdb-0.1.9}/vastdb.egg-info/top_level.txt +0 -0
@@ -4,9 +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
+ ## [0.1.9] (2024-07-01)
8
+ [0.1.9]: https://github.com/vast-data/vastdb_sdk/compare/v0.1.8...v0.1.9
9
+
10
+ ## Fixed
11
+ - Don't drop timezone information when creating a table
12
+ - Clarify the catalog example
13
+
7
14
  ## [0.1.8] (2024-06-26)
8
15
  [0.1.8]: https://github.com/vast-data/vastdb_sdk/compare/v0.1.7...v0.1.8
9
16
 
17
+ ## Fixed
10
18
  - Allow retries also during query response parsing
11
19
  - Don't retrieve stats during Table.select() if not needed
12
20
  - Log successful server-side file import
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vastdb
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: VAST Data SDK
5
5
  Home-page: https://github.com/vast-data/vastdb_sdk
6
6
  Author: VAST DATA
@@ -176,18 +176,27 @@ batches = snaps[0].schema('schema-name').table('table-name').select()
176
176
  [VAST Catalog](https://vastdata.com/blog/vast-catalog-treat-your-file-system-like-a-database) can be queried as a regular table:
177
177
 
178
178
  ```python
179
- table = tx.catalog().select(['element_type']).read_all()
180
- df = table.to_pandas()
179
+ import pyarrow as pa
180
+ import vastdb
181
+
182
+ session = vastdb.connect(
183
+ endpoint='http://vip-pool.v123-xy.VastENG.lab',
184
+ access=AWS_ACCESS_KEY_ID,
185
+ secret=AWS_SECRET_ACCESS_KEY)
186
+
187
+ with session.transaction() as tx:
188
+ table = tx.catalog().select(['element_type']).read_all()
189
+ df = table.to_pandas()
181
190
 
182
- total_elements = len(df)
183
- print(f"Total elements in the catalog: {total_elements}")
191
+ total_elements = len(df)
192
+ print(f"Total elements in the catalog: {total_elements}")
184
193
 
185
- file_count = (df['element_type'] == 'FILE').sum()
186
- print(f"Number of files/objects: {file_count}")
194
+ file_count = (df['element_type'] == 'FILE').sum()
195
+ print(f"Number of files/objects: {file_count}")
187
196
 
188
- distinct_elements = df['element_type'].unique()
189
- print("Distinct element types on the system:")
190
- print(distinct_elements)
197
+ distinct_elements = df['element_type'].unique()
198
+ print("Distinct element types on the system:")
199
+ print(distinct_elements)
191
200
  ```
192
201
 
193
202
  See the following blog posts for more examples:
@@ -29,7 +29,7 @@ setup(
29
29
  name='vastdb',
30
30
  python_requires='>=3.9.0',
31
31
  description='VAST Data SDK',
32
- version='0.1.8' + suffix,
32
+ version='0.1.9' + suffix,
33
33
  url='https://github.com/vast-data/vastdb_sdk',
34
34
  author='VAST DATA',
35
35
  author_email='hello@vastdata.com',
@@ -3,6 +3,7 @@ import xml.etree.ElementTree
3
3
  from dataclasses import dataclass
4
4
  from enum import Enum
5
5
 
6
+ import pyarrow as pa
6
7
  import requests
7
8
 
8
9
 
@@ -169,6 +170,11 @@ class NotSupportedCommand(NotSupported):
169
170
  table: str
170
171
 
171
172
 
173
+ @dataclass
174
+ class NotSupportedType(NotSupported):
175
+ field: pa.Field
176
+
177
+
172
178
  @dataclass
173
179
  class NotSupportedVersion(NotSupported):
174
180
  err_msg: str
@@ -10,7 +10,7 @@ from typing import TYPE_CHECKING, Iterable, List, Optional
10
10
 
11
11
  import pyarrow as pa
12
12
 
13
- from . import bucket, errors, schema, table
13
+ from . import bucket, errors, schema, table, util
14
14
 
15
15
  if TYPE_CHECKING:
16
16
  from .table import Table
@@ -86,6 +86,7 @@ class Schema:
86
86
  if use_external_row_ids_allocation:
87
87
  self.tx._rpc.features.check_external_row_ids_allocation()
88
88
 
89
+ util.check_supported_types(columns)
89
90
  self.tx._rpc.api.create_table(self.bucket.name, self.name, table_name, columns, txid=self.tx.txid,
90
91
  use_external_row_ids_allocation=use_external_row_ids_allocation)
91
92
  log.info("Created table: %s", table_name)
@@ -486,6 +486,7 @@ class Table:
486
486
  raise errors.NotSupportedCommand(self.bucket.name, self.schema.name, self.name)
487
487
  try:
488
488
  row_ids = []
489
+ util.check_supported_types(rows.schema)
489
490
  serialized_slices = util.iter_serialized_slices(rows, MAX_INSERT_ROWS_PER_PATCH)
490
491
  for slice in serialized_slices:
491
492
  res = self.tx._rpc.api.insert_rows(self.bucket.name, self.schema.name, self.name, record_batch=slice,
@@ -528,6 +529,7 @@ class Table:
528
529
 
529
530
  update_rows_rb = util.sort_record_batch_if_needed(update_rows_rb, INTERNAL_ROW_ID)
530
531
 
532
+ util.check_supported_types(update_rows_rb.schema)
531
533
  serialized_slices = util.iter_serialized_slices(update_rows_rb, MAX_ROWS_PER_BATCH)
532
534
  for slice in serialized_slices:
533
535
  self.tx._rpc.api.update_rows(self.bucket.name, self.schema.name, self.name, record_batch=slice,
@@ -572,6 +574,7 @@ class Table:
572
574
  """Add a new column."""
573
575
  if self._imports_table:
574
576
  raise errors.NotSupportedCommand(self.bucket.name, self.schema.name, self.name)
577
+ util.check_supported_types(new_column)
575
578
  self.tx._rpc.api.add_columns(self.bucket.name, self.schema.name, self.name, new_column, txid=self.tx.txid)
576
579
  log.info("Added column(s): %s", new_column)
577
580
  self.arrow_schema = self.columns()
@@ -311,6 +311,46 @@ def test_types(session, clean_bucket_name):
311
311
  assert select(t['ts9'] == ts_literal) == expected.filter(pc.field('ts9') == ts_literal)
312
312
 
313
313
 
314
+ TIMESTAMP_UNITS = ['s', 'ms', 'us', 'ns']
315
+
316
+
317
+ def test_unsupported_timezone(session, clean_bucket_name):
318
+ with session.transaction() as tx:
319
+ s = tx.bucket(clean_bucket_name).create_schema('s1')
320
+ for unit in TIMESTAMP_UNITS:
321
+ col_type = pa.timestamp(unit, 'UTC')
322
+ with pytest.raises(errors.NotSupportedType):
323
+ s.create_table('t1', pa.schema([('ts', col_type)]))
324
+ assert s.tables() == []
325
+
326
+ cols = [('c', pa.int64())]
327
+ t1 = s.create_table('t1', pa.schema(cols))
328
+ for unit in TIMESTAMP_UNITS:
329
+ col_type = pa.timestamp(unit, 'UTC')
330
+ with pytest.raises(errors.NotSupportedType):
331
+ t1.add_column(pa.schema([('ts', col_type)]))
332
+
333
+ cols = [(f'c_{unit}', pa.timestamp(unit)) for unit in TIMESTAMP_UNITS]
334
+ t2 = s.create_table('t2', pa.schema(cols))
335
+
336
+ for unit in TIMESTAMP_UNITS:
337
+ col_type = pa.timestamp(unit, 'UTC')
338
+
339
+ rb = pa.record_batch(
340
+ data=[[None]],
341
+ schema=pa.schema([(f'c_{unit}', col_type)]))
342
+ with pytest.raises(errors.NotSupportedType):
343
+ t2.insert(rb)
344
+
345
+ rb = pa.record_batch(
346
+ data=[[0], [None]],
347
+ schema=pa.schema([
348
+ (INTERNAL_ROW_ID, pa.uint64()),
349
+ (f'c_{unit}', col_type)]))
350
+ with pytest.raises(errors.NotSupportedType):
351
+ t2.update(rb)
352
+
353
+
314
354
  def test_filters(session, clean_bucket_name):
315
355
  columns = pa.schema([
316
356
  ('a', pa.int32()),
@@ -6,7 +6,7 @@ import pyarrow as pa
6
6
  import pyarrow.compute as pc
7
7
  import pyarrow.parquet as pq
8
8
 
9
- from .errors import InvalidArgument, TooWideRow
9
+ from .errors import InvalidArgument, NotSupportedType, TooWideRow
10
10
 
11
11
  log = logging.getLogger(__name__)
12
12
 
@@ -152,3 +152,10 @@ def sort_record_batch_if_needed(record_batch, sort_column):
152
152
  return record_batch.sort_by(sort_column)
153
153
  else:
154
154
  return record_batch
155
+
156
+
157
+ def check_supported_types(fields: pa.Schema):
158
+ for f in fields:
159
+ if isinstance(f.type, pa.TimestampType):
160
+ if f.type.tz:
161
+ raise NotSupportedType(f)
@@ -10,7 +10,7 @@ logger = logging.getLogger(__name__)
10
10
 
11
11
 
12
12
  @pytest.mark.ha
13
- def test_ha_query(session, crater_path, test_bucket_name, schema_name, table_name):
13
+ def test_ha_query(session, test_bucket_name, schema_name, table_name):
14
14
  # runs in parallel to ha scenario
15
15
  times_to_query, records_in_table = 50, 100_000_000
16
16
  arrow_array = pa.array(range(0, records_in_table), type=pa.int64())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vastdb
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: VAST Data SDK
5
5
  Home-page: https://github.com/vast-data/vastdb_sdk
6
6
  Author: VAST DATA
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
File without changes
File without changes
File without changes
File without changes
File without changes