-
Notifications
You must be signed in to change notification settings - Fork 15
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
Support adding fields to nested Parquet structs #40
base: twitter-master
Are you sure you want to change the base?
Support adding fields to nested Parquet structs #40
Conversation
Parquet only calls converts for which it found the values. The missing values are not reported. The BlockBuilder must be appended with nulls for the missing values based on fieldIndex of the currently read value by Parquet.
…pass Ignore errors if the partitions have no corresponding valid hdfs path.
…gParquetColumns Append nulls for missing values in Parquet.
…d be reverted once prestodb#2863 is resolved.
Case insensitive types
This reverts commit 7365f1a. This blocked us from reading from mountable clusters.
Zookeeper based metastore
# Conflicts: # presto-main/src/main/java/com/facebook/presto/sql/analyzer/ExpressionAnalyzer.java
Run queries as user
Pick username from unix system and disallow overriding it.
…_logging Use modules and query events for logging
…c_cleanup Move twitter classes to a twitter package
…mplete_events Add event processer and handlers and scribe query completion events
Upgrade to 0.143-tw-21
@@ -69,6 +69,7 @@ | |||
implements ConnectorSplitManager | |||
{ | |||
public static final String PRESTO_OFFLINE = "presto_offline"; | |||
private static final String STRUCT_PREFIX = "struct<"; |
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.
Is it possible to use "RowType" instead of "struct"? Or may be use com.facebook.presto.hive.HiveType.java
.
Same for the rest of the patch. Presto has RowType
and struct
is not used here directly IIRC.
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.
Yeah, this part pained me pretty bad. I dug around for something more type safe but I missed HiveType. Refactoring.
LGTM, I saw some existing PR as well. We can start with this and wait for that to merge to master and released.. |
Yeah, sounds good. Thanks. |
Patch of prestodb#4939 for twitter fork.