You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "andrewthad (via GitHub)" <gi...@apache.org> on 2023/03/14 13:04:22 UTC

[GitHub] [arrow-datafusion] andrewthad opened a new issue, #5594: Loading from Arrow files

andrewthad opened a new issue, #5594:
URL: https://github.com/apache/arrow-datafusion/issues/5594

   This is not necessarily a feature request. Rather, it's a request for either a feature to be added or for improved documentation clarifying that the feature is not available. To my understanding, datafusion (at the CLI at least) cannot read from Apache arrow files. There are two different kinds of Arrow files: the `.arrow` file (which has a footer with metadata about block positions) and the `.arrows` "streaming" file (which lacks the footer). I've tried out several `CREATE EXTERNAL TABLE` invocations:
   
       CREATE EXTERNAL TABLE foo stored as ARROW LOCATION foo.arrow
       CREATE EXTERNAL TABLE foo stored as ARROWS LOCATION foo.arrow
       CREATE EXTERNAL TABLE foo stored as FEATHER LOCATION foo.arrow
   
   They all give an "Unable to find factory for ..." error. After looking through more of the documentation for a while and paying attention to what wasn't explicitly said, that arrow files are not support as a form of input. I think that, if this is the case, it should be mentioned explicitly in the documentation. Datafusion's documentation is misleading about arrow being an *internal* implementation detail, not an external-facing way to communicate with a producer of data. From the readme on GitHub:
   
   > Easy to Connect: Being part of the Apache Arrow ecosystem (Arrow, Parquet and Flight), DataFusion works well with the rest of the big data ecosystem
   
   I read this as meaning the datafusion can consume data in the arrow format. Flight is a tool specifically for the purpose of shuffling arrow-formatted data around on a network, so it's hard to interpret this as meaning anything else. Perhaps this was a goal at some point, or maybe it's possible to do this, but it's undocumented.
   
   Here are three mutually exclusive possibilities for improving this situation:
   
   * Document that arrow files are not supported.
   * Document that arrow files are supported (maybe they are and I couldn't figure it out!)
   * Support arrow files as a source of data


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

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


[GitHub] [arrow-datafusion] alamb commented on issue #5594: Loading from Arrow files

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #5594:
URL: https://github.com/apache/arrow-datafusion/issues/5594#issuecomment-1470308227

   > Document that arrow files are not supported.
   
   Arrow files are not supported, to the best of my knowledge


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-datafusion] andrewthad commented on issue #5594: Loading from Arrow files

Posted by "andrewthad (via GitHub)" <gi...@apache.org>.
andrewthad commented on issue #5594:
URL: https://github.com/apache/arrow-datafusion/issues/5594#issuecomment-1470336860

   If that's the case, I'd like to PR an addition to the FAQ page that makes this more clear. Would that be alright?


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-datafusion] alamb commented on issue #5594: Loading from Arrow files

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #5594:
URL: https://github.com/apache/arrow-datafusion/issues/5594#issuecomment-1470598615

   > If that's the case, I'd like to PR an addition to the FAQ page that makes this more clear. Would that be alright?
   
   
   
   Please do!


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-datafusion] alamb closed issue #5594: Loading from Arrow files

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #5594: Loading from Arrow files
URL: https://github.com/apache/arrow-datafusion/issues/5594


-- 
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: github-unsubscribe@arrow.apache.org

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


[GitHub] [arrow-datafusion] alamb commented on issue #5594: Loading from Arrow files

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #5594:
URL: https://github.com/apache/arrow-datafusion/issues/5594#issuecomment-1470307205

   I think @Dandandan  had a PR that started to do this: https://github.com/apache/arrow-datafusion/pull/1858


-- 
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: github-unsubscribe@arrow.apache.org

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