dzcxzl created ORC-1403:
---------------------------
Summary: ORC supports reading empty field name
Key: ORC-1403
URL: https://issues.apache.org/jira/browse/ORC-1403
Project: ORC
Issue Type: Improvement
Reporter: dzcxzl
{code:java}
java.lang.IllegalArgumentException: Empty quoted field name at
'struct<``^:string>'
at org.apache.orc.impl.ParserUtils.parseName(ParserUtils.java:114)
at org.apache.orc.impl.ParserUtils.parseStruct(ParserUtils.java:170)
at org.apache.orc.impl.ParserUtils.parseType(ParserUtils.java:228)
at org.apache.orc.TypeDescription.fromString(TypeDescription.java:202)
at
org.apache.orc.mapred.OrcInputFormat.buildOptions(OrcInputFormat.java:122)
at
org.apache.spark.sql.execution.datasources.orc.OrcColumnarBatchReader.initialize(OrcColumnarBatchReader.java:130)
at
org.apache.spark.sql.execution.datasources.orc.OrcFileFormat.$anonfun$buildReaderWithPartitionValues$2(OrcFileFormat.scala:207)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)