Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Columnar Load from Geopandas #15

Open
mflaxman10 opened this issue Jun 24, 2021 · 1 comment
Open

Support Columnar Load from Geopandas #15

mflaxman10 opened this issue Jun 24, 2021 · 1 comment

Comments

@mflaxman10
Copy link
Collaborator

This used to work, I believe, and so may be a regression in OmniSci 5.7

To replicate:

  1. Create a geopandas data frame
  2. Create a matching OmniSci table
  3. Use load_table_columnar method
  4. Note error message:

ArrowTypeError: ('Did not pass numpy.dtype object', 'Conversion failed for column omnisci_geo with type geometry')

image

Expected Behavior

Should load correctly, as long as table is pre-created with correct DDL

@guilhermeleobas
Copy link
Contributor

con.con.load_table('bain_lakewood_bld_hex13s', gdf) works if one specify method='columnar'/'rows'. For method='arrow', it requires https://github.com/heavyai/heavydb-internal/pull/7322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants