szingerpeter commented on issue #7724:
URL: https://github.com/apache/hudi/issues/7724#issuecomment-1403478615
it's not supported.
```
pyspark.sql.utils.ParseException:
DataType timestamp(0) is not supported.(line 1, pos 11)
== SQL ==
CAST(_1 AS TIMESTAMP(0))
-----------^^^
```
```
spark.createDataFrame([['2022-01-01 01:01:01.000000']]).withColumn('test',
F.expr('CAST(_1 AS TIMESTAMP(0))'))
```
I guess for hudi to save the column as of type `timestamp`, the dataframe
must have a timestamp type as well rather than a timestamp formatted string,
right?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]