You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2023/03/24 16:59:40 UTC

[GitHub] [arrow-adbc] lidavidm opened a new issue, #541: [Format] Add more ingest modes

lidavidm opened a new issue, #541:
URL: https://github.com/apache/arrow-adbc/issues/541

   We could add more ingest modes to make things easier on integrations like Polars:
   
   https://github.com/pola-rs/polars/blob/702f72a57a1ab2be796679e4facc0d1957a67cc9/py-polars/polars/dataframe/frame.py#L2951-L2955
   
   ```
           if_exists : {'append', 'replace', 'fail'}
               The insert mode.
               'replace' will create a new database table, overwriting an existing one.
               'append' will append to an existing table.
               'fail' will fail if table already exists.
   ```
   
   - `fail` is our `CREATE`.
   - Our `append` does not create the table; we should document how to do this (try to append, if it fails, try to create).
   - `replace` is not supported.
   
   Polars currently maps `replace` to `CREATE` and `append` to `APPEND` but this does not match its documented semantics. We should add `replace` and clarify the documentation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] lidavidm closed issue #541: [Format] Add more ingest modes

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #541: [Format] Add more ingest modes
URL: https://github.com/apache/arrow-adbc/issues/541


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-adbc] lidavidm closed issue #541: [Format] Add more ingest modes

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #541: [Format] Add more ingest modes
URL: https://github.com/apache/arrow-adbc/issues/541


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org