This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a change to branch calcite-framework
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
from b1b5db42c Fix unit test
add d4a8241b6 New version
add 823723047 Add calcite table
add cc4b67a2a Add an openstreetmap table
add 80562313e Add Calcite table for shapefile
add 8e27d1423 Add calcite rpsl table
add 3ecf5f719 Fix unit tests
add 979556955 Add flatgeobuf calcite table
add 0f4658778 Add Calcite table for geoparquet
add 71760932a Add a calcite postgis table and schema
add 2555b3f7e Delete old implementation of calcite tables
add 93960ee85 Fix compilation issues in calcite module
add c64b95ab5 Format code
add 748872ffa Make postgis table modifiable
No new revisions were added by this update.
Summary of changes:
baremaps-calcite/pom.xml | 4 +
.../{baremaps => }/BaremapsDdlExecutor.java | 58 +-
.../baremaps/calcite/BaremapsTableFactory.java | 316 ++++++++++
.../org/apache/baremaps/calcite/DataColumn.java | 107 ----
.../apache/baremaps/calcite/DataColumnFixed.java | 29 -
.../java/org/apache/baremaps/calcite/DataRow.java | 90 ---
.../org/apache/baremaps/calcite/DataRowType.java | 112 ----
.../org/apache/baremaps/calcite/DataSchema.java | 103 ----
.../org/apache/baremaps/calcite/DataStore.java | 65 ---
.../baremaps/calcite/DataStoreException.java | 53 --
.../org/apache/baremaps/calcite/DataTable.java | 150 -----
.../apache/baremaps/calcite/DataTableAdapter.java | 102 ----
.../apache/baremaps/calcite/DataTableFactory.java | 101 ----
.../baremaps/calcite/DataTableGeometryMapper.java | 62 --
.../apache/baremaps/calcite/DataTableMapper.java | 75 ---
.../calcite/baremaps/BaremapsDataStore.java | 62 --
.../calcite/baremaps/BaremapsDataTable.java | 101 ----
.../apache/baremaps/calcite/csv/CsvDataStore.java | 98 ----
.../apache/baremaps/calcite/csv/CsvDataTable.java | 275 ---------
.../org/apache/baremaps/calcite/csv/CsvTable.java | 224 ++++++++
.../apache/baremaps/calcite/data/DataColumn.java | 97 ++++
.../baremaps/calcite/data/DataColumnFixed.java | 109 ++++
.../baremaps/calcite/data/DataColumnNested.java | 109 ++++
.../DataMaterializedView.java} | 35 +-
.../DataModifiableTable.java} | 209 +++----
.../org/apache/baremaps/calcite/data/DataRow.java | 160 ++++++
.../apache/baremaps/calcite/data/DataRowType.java | 359 ++++++++++++
.../apache/baremaps/calcite/data/DataSchema.java | 294 ++++++++++
.../calcite/flatgeobuf/FlatGeoBufDataStore.java | 102 ----
.../calcite/flatgeobuf/FlatGeoBufDataTable.java | 237 --------
.../calcite/flatgeobuf/FlatGeoBufTable.java | 217 +++++++
.../flatgeobuf/FlatGeoBufTypeConversion.java | 130 -----
.../calcite/geopackage/GeoPackageDataStore.java | 85 ---
.../calcite/geopackage/GeoPackageDataTable.java | 297 ----------
.../calcite/geoparquet/GeoParquetDataStore.java | 65 ---
.../calcite/geoparquet/GeoParquetDataTable.java | 107 ----
.../calcite/geoparquet/GeoParquetTable.java | 158 +++++
.../geoparquet/GeoParquetTypeConversion.java | 236 +++++---
.../openstreetmap/OpenStreetMapDataTable.java | 141 -----
.../calcite/openstreetmap/OpenStreetMapTable.java | 203 +++++++
.../calcite/postgis/PostgisModifiableTable.java | 633 +++++++++++++++++++++
.../calcite/postgis/PostgisTypeConversion.java | 113 ++++
.../calcite/postgres/PostgresDataStore.java | 323 -----------
.../calcite/postgres/PostgresDataTable.java | 335 -----------
.../calcite/postgres/PostgresTypeConversion.java | 72 ---
.../baremaps/calcite/rpsl/RpslDataRowIterator.java | 89 ---
.../baremaps/calcite/rpsl/RpslDataTable.java | 94 ---
.../apache/baremaps/calcite/rpsl/RpslTable.java | 245 ++++++++
.../calcite/shapefile/ShapefileDataStore.java | 89 ---
.../calcite/shapefile/ShapefileDataTable.java | 199 -------
.../baremaps/calcite/shapefile/ShapefileTable.java | 198 +++++++
.../org/apache/baremaps/calcite/CalciteTest.java | 191 ++++---
.../calcite/DataTableAdapterFactoryTest.java | 154 -----
.../apache/baremaps/calcite/DataTypeProvider.java | 89 ---
.../org/apache/baremaps/calcite/DataTypeTest.java | 61 --
.../org/apache/baremaps/calcite/MockDataTable.java | 85 ---
.../calcite/csv/CsvDataTableGeonamesTest.java | 123 ----
.../baremaps/calcite/csv/CsvDataTableTest.java | 192 -------
.../apache/baremaps/calcite/csv/CsvTableTest.java | 211 +++++++
.../flatgeobuf/FlatGeoBufDataTableTest.java | 57 --
.../calcite/flatgeobuf/FlatGeoBufTableTest.java | 93 +++
.../geopackage/GeoPackageDataStoreTest.java | 45 --
.../geoparquet/GeoParquetDataStoreTest.java | 47 --
.../calcite/geoparquet/GeoParquetTableTest.java | 209 +++++++
.../openstreetmap/OpenStreetMapDataTableTest.java | 51 --
.../openstreetmap/OpenStreetMapTableTest.java | 129 +++++
.../postgis/PostgisModifiableTableTest.java | 356 ++++++++++++
.../calcite/postgres/PostgresDataStoreTest.java | 59 --
.../calcite/postgres/PostgresDataTableTest.java | 97 ----
.../baremaps/calcite/rpsl/RpslTableTest.java | 103 ++++
.../baremaps/calcite/rpsl/RsplDataTableTest.java | 67 ---
.../calcite/shapefile/ShapefileTableTest.java | 93 +++
baremaps-csv/pom.xml | 47 --
baremaps-geopackage/pom.xml | 43 --
.../baremaps/shapefile/ShapefileByteReader.java | 50 --
.../apache/baremaps/shapefile/ShapefileReader.java | 6 +
baremaps-store/pom.xml | 43 --
baremaps-testing/data/shapefiles/README.md | 4 +
baremaps-testing/data/shapefiles/point.cpg | 1 +
baremaps-testing/data/shapefiles/point.dbf | Bin 0 -> 434 bytes
baremaps-testing/data/shapefiles/point.prj | 1 +
baremaps-testing/data/shapefiles/point.shp | Bin 0 -> 156 bytes
baremaps-testing/data/shapefiles/point.shx | Bin 0 -> 116 bytes
.../org/apache/baremaps/testing/FileUtils.java | 20 +-
.../org/apache/baremaps/testing/TestFiles.java | 9 +
85 files changed, 5113 insertions(+), 5550 deletions(-)
rename baremaps-calcite/src/main/java/org/apache/baremaps/calcite/{baremaps =>
}/BaremapsDdlExecutor.java (93%)
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/BaremapsTableFactory.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataColumn.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataColumnFixed.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataRow.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataRowType.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataSchema.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataStoreException.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataTableAdapter.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataTableFactory.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataTableGeometryMapper.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataTableMapper.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/baremaps/BaremapsDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/baremaps/BaremapsDataTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/csv/CsvDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/csv/CsvDataTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/csv/CsvTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/data/DataColumn.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/data/DataColumnFixed.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/data/DataColumnNested.java
rename
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/{baremaps/BaremapsMaterializedView.java
=> data/DataMaterializedView.java} (63%)
rename
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/{baremaps/BaremapsModifiableTable.java
=> data/DataModifiableTable.java} (58%)
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/data/DataRow.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/data/DataRowType.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/data/DataSchema.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/flatgeobuf/FlatGeoBufDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/flatgeobuf/FlatGeoBufDataTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/flatgeobuf/FlatGeoBufTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/flatgeobuf/FlatGeoBufTypeConversion.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/geopackage/GeoPackageDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/geopackage/GeoPackageDataTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/geoparquet/GeoParquetDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/geoparquet/GeoParquetDataTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/geoparquet/GeoParquetTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/openstreetmap/OpenStreetMapDataTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/openstreetmap/OpenStreetMapTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/postgis/PostgisModifiableTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/postgis/PostgisTypeConversion.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/postgres/PostgresDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/postgres/PostgresDataTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/postgres/PostgresTypeConversion.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/rpsl/RpslDataRowIterator.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/rpsl/RpslDataTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/rpsl/RpslTable.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/shapefile/ShapefileDataStore.java
delete mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/shapefile/ShapefileDataTable.java
create mode 100644
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/shapefile/ShapefileTable.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/DataTableAdapterFactoryTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/DataTypeProvider.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/DataTypeTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/MockDataTable.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/csv/CsvDataTableGeonamesTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/csv/CsvDataTableTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/csv/CsvTableTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/flatgeobuf/FlatGeoBufDataTableTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/flatgeobuf/FlatGeoBufTableTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/geopackage/GeoPackageDataStoreTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/geoparquet/GeoParquetDataStoreTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/geoparquet/GeoParquetTableTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/openstreetmap/OpenStreetMapDataTableTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/openstreetmap/OpenStreetMapTableTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/postgis/PostgisModifiableTableTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/postgres/PostgresDataStoreTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/postgres/PostgresDataTableTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/rpsl/RpslTableTest.java
delete mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/rpsl/RsplDataTableTest.java
create mode 100644
baremaps-calcite/src/test/java/org/apache/baremaps/calcite/shapefile/ShapefileTableTest.java
delete mode 100644 baremaps-csv/pom.xml
delete mode 100644 baremaps-geopackage/pom.xml
delete mode 100644 baremaps-store/pom.xml
create mode 100644 baremaps-testing/data/shapefiles/README.md
create mode 100644 baremaps-testing/data/shapefiles/point.cpg
create mode 100644 baremaps-testing/data/shapefiles/point.dbf
create mode 100644 baremaps-testing/data/shapefiles/point.prj
create mode 100644 baremaps-testing/data/shapefiles/point.shp
create mode 100644 baremaps-testing/data/shapefiles/point.shx
rename
baremaps-calcite/src/main/java/org/apache/baremaps/calcite/DataColumnNested.java
=> baremaps-testing/src/main/java/org/apache/baremaps/testing/FileUtils.java
(74%)