-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-33709][SQL] Refactor FileTable #30670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| } | ||
|
|
||
| lazy val dataSchema: StructType = { | ||
| StructType(fileSchema.filterNot(partitionSchema.contains)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we consider caseSensitive option as line 106 ~ line 109:
val fields = fileSchema.fields.filterNot { field =>
val colName = PartitioningUtils.getColName(field, caseSensitive)
partitionNameSet.contains(colName)
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Let's see if there are other failures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 test in HiveThriftHttpServerSuite failed, seems these three use cases fail in other pr too ....
|
Kubernetes integration test starting |
|
Kubernetes integration test status failure |
|
Test build #132421 has finished for PR 30670 at commit
|
| val isCaseSensitive = sqlConf.caseSensitiveAnalysis | ||
| val parquetSchema = | ||
| new SparkToParquetSchemaConverter(sparkSession.sessionState.conf).convert(schema) | ||
| new SparkToParquetSchemaConverter(sparkSession.sessionState.conf).convert(dataSchema) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should use readDataSchema() instead of dataSchema
What changes were proposed in this pull request?
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?