Closed ngnnah closed 2 weeks ago
Hey @ngnnah — thanks for submitting this issue. BemiDB current doesn't work with geometric data types, but we'll be happy to add support for them.
Would you be able to share information about your schema? For example, by querying it like:
SELECT * FROM information_schema.columns WHERE table_name = 'table_with_geometry_column';
this is standard postgis geometry column type, here's the schema: columns_202411121156.csv columns_202411121156.csv The sync command doesn't need to support geometry/user-defined type right away but instead of failing and breaking, i think it would help to just CAST all unsupported dtypes to string, either via ST_AsText (for geometry type) or simple CAST()
Great, thank you for sharing this.
Would you be able to install the latest version and try again?
User-defined types should now be automatically converted to strings.
Similarly:
./bemidb --pg-database-url $DB_URL --iceberg-path /data/.iceberg sync
2024/11/12 17:09:32 [INFO] Syncing "public"."00c4a58f-9cf1-407e-bf7a-4b67bee5b081"...
panic: Unsupported PostgreSQL type: tsvector
Tsvectors should probably be ignored.
Thanks, @EricSoroos. "tsvector" should also be fixed now. Let us know if there are any other similar issues
Thanks. That was fast!
When run this bemidb --pg-database-url postgresql://..... sync I GOT this error and the sync failed and stopped