Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/17655
If the table name is `Things`, it works well. So far, the only issue I hit
is the big `I`, because `toLowerCase` in SessionCatalog converts it to a
non-alphabic character `ı`.
Updated the test case by adding the column names having `I`. I did not go
over the code base to prove all the cases work well.
Avro serde issues can be easily reproduced. For example,
```SQL
withLocale("tr") {
withTable("t", "t1") {
Seq(1 -> "a").toDF("i", "j")
.write.format("hive").option("fileFormat",
"avro").saveAsTable("t")
}
}
```
The error is from the underlying avro schema parser. It is not caused by
our Spark, I think.
```
Caused by: org.apache.avro.SchemaParseException: Undefined name: "ınt"
at org.apache.avro.Schema.parse(Schema.java:1162)
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]