stevomitric opened a new pull request, #57084: URL: https://github.com/apache/spark/pull/57084
### What changes were proposed in this pull request? Classify the nanosecond-precision timestamp types as Hive-incompatible in `HiveExternalCatalog.isHiveCompatibleDataType`. ### Why are the changes needed? These are Spark-specific types with no Hive metastore equivalent. Previously they fell through to the `case _ => true` default, so a table using them could take the Hive-compatible metastore path and store a non-standard `timestamp_ntz(9)` / `timestamp_ltz(9)` type string in the HMS `FieldSchema`. ### Does this PR introduce _any_ user-facing change? No. This affects only how nanosecond-typed tables are persisted to the Hive metastore. ### How was this patch tested? Added coverage in `MetastoreDataSourcesSuite` exercising create/reload of tables with nanosecond timestamp columns. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.8 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
