[
https://issues.apache.org/jira/browse/ARROW-9889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17187680#comment-17187680
]
Andrew Lamb edited comment on ARROW-9889 at 8/31/20, 12:15 PM:
---------------------------------------------------------------
I think the issue is that the CLI actually tries to execute (collect) the
"create table" logical plan, and the physical planner hasn't implemented that
type.
was (Author: alamb):
I think the issue is that the CLI actually tries to execute the "create table"
logical plan, and the physical planner hasn't implemented that type.
> [Rust][DataFusion] Datafusion CLI: CREATE EXTERNAL TABLE errors with
> "Unsupported logical plan variant"
> -------------------------------------------------------------------------------------------------------
>
> Key: ARROW-9889
> URL: https://issues.apache.org/jira/browse/ARROW-9889
> Project: Apache Arrow
> Issue Type: Bug
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Major
>
> When I try to make an external table using the DataFusion CLI I get an error:
> h3. Reproducer:
> # Check out master
> # Build via {{cd arrow/rust; cargo run --bin datafusion-cli}}
> # run this query: {{create external table test(c1 boolean) stored as CSV
> location '/tmp/foo'}}
> *Expected Result*: An external table is created successfully
> *Actual Result*: An error is reported:
> {code}
> > create external table test(c1 boolean) stored as CSV location '/tmp/foo';
> General("Unsupported logical plan variant")
> >
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)