maropu commented on pull request #30850:
URL: https://github.com/apache/spark/pull/30850#issuecomment-748598298
Which case you pointed out? This one?
```
scala> sql("select rand()").write.save("/tmp/test")
org.apache.spark.sql.AnalysisException: Attribute name "rand()" contains
invalid character(s) among " ,;{}()\n\t=". Please use alias to rename it.
at
org.apache.spark.sql.execution.datasources.parquet.ParquetSchemaConverter$.checkConversionRequirement(ParquetSchemaConverter.scala:579)
at
org.apache.spark.sql.execution.datasources.parquet.ParquetSchemaConverter$.checkFieldName(ParquetSchemaConverter.scala:570)
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]