[HUDI-3398] Fix TableSchemaResolver for all file formats and metadata table (#4782)
authorYueZhang <69956021+zhangyue19921010@users.noreply.github.com>
Tue, 15 Feb 2022 00:02:47 +0000 (08:02 +0800)
committerGitHub <noreply@github.com>
Tue, 15 Feb 2022 00:02:47 +0000 (16:02 -0800)
commit0a97a9893a0425ed54c911b48d6e070f1d947311
tree8819031f7a401d38b1d3b158af4156a273de0366
parente639d993873913805de1ebd286f1e8a791ef6a24
[HUDI-3398] Fix TableSchemaResolver for all file formats and metadata table (#4782)

Co-authored-by: yuezhang <yuezhang@freewheel.tv>
hudi-common/src/main/java/org/apache/hudi/common/table/TableSchemaResolver.java
hudi-common/src/main/java/org/apache/hudi/common/util/OrcUtils.java
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/TestTableSchemaResolverWithSparkSQL.scala [new file with mode: 0644]