Replies: 3 comments 1 reply
-
What is the type of the column reported? Maybe describe my_table Maybe it is being treated as a |
Beta Was this translation helpful? Give feedback.
-
The schema of the table is as follows, I don't think it should be treated as MAP ` ` |
Beta Was this translation helpful? Give feedback.
-
I agree this sounds like a bug / limitation to me What I suggest is filing a ticket with a self-contained reproducer (either as Rust code or preferrably as a The datafusion CLI is documented here: |
Beta Was this translation helpful? Give feedback.
-
Hi
I have a parquet file with following example data:
{
"a" : "A1",
}
When I am trying to access the subfield "Name" none of the following syntax is working for me using latest datafusion package (40.*) and I am getting error as "Nested identifiers not yet supported".
Examples I tried:
SELECT myobjects.element.name FROM my_table;
SELECT myobjects.name FROM my_table;
SELECT myobjects.item.name FROM my_table;
SELECT myobjects["name"] FROM my_table;
From DF I tried
col("myobjects.name")
col("myobjects.item.name")
col("myobjects.element.name");
None of them worked for me, Can someone please help me understand what am I doing wrong ?
Beta Was this translation helpful? Give feedback.
All reactions