We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HIVE-16922 fixed the typo of org.apache.hadoop.hive.serde.serdeConstants#COLLECTION_DELIM, but also introduced a breaking change.
org.apache.hadoop.hive.serde.serdeConstants#COLLECTION_DELIM
#1321 fixed this compatibility issue for RC files, while leaving TEXT files out.
We walk around it by changing the io.prestosql.plugin.hive.HiveUtil#getDeserializer
io.prestosql.plugin.hive.HiveUtil#getDeserializer
public static Deserializer getDeserializer(Configuration configuration, Properties schema) { String name = getDeserializerClassName(schema); // fix compat issue: colelction.delim in Hive 2.x, but collection.delim in Hive 3.x // see also https://issues.apache.org/jira/browse/HIVE-16922 if (name.equals("org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe")) { if (schema.containsKey("colelction.delim") && !schema.containsKey(COLLECTION_DELIM)) { schema.put(COLLECTION_DELIM, schema.getProperty("colelction.delim")); } } Deserializer deserializer = createDeserializer(getDeserializerClass(name)); initializeDeserializer(configuration, deserializer, schema); return deserializer; }
The text was updated successfully, but these errors were encountered:
Created PR #1733
Sorry, something went wrong.
trinodb#1714 changing order of import
d782d78
You guys are doing a great job
Solved by #1733
Successfully merging a pull request may close this issue.
HIVE-16922 fixed the typo of
org.apache.hadoop.hive.serde.serdeConstants#COLLECTION_DELIM
, but also introduced a breaking change.#1321 fixed this compatibility issue for RC files, while leaving TEXT files out.
We walk around it by changing the
io.prestosql.plugin.hive.HiveUtil#getDeserializer
The text was updated successfully, but these errors were encountered: