-
Notifications
You must be signed in to change notification settings - Fork 303
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
Adding a test case to demonstrate Map field capability #734
base: master
Are you sure you want to change the base?
Conversation
new Field("value", true, Types.MinorType.LIST.getType(), Collections.singletonList(new Field("", FieldType.nullable(Types.MinorType.VARCHAR.getType()), null))) | ||
))))); | ||
return this; | ||
} |
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.
Schema
sb.append("2017,11,1,1858905353,1131234096,false,w4R3N+vN/EcwrWP7q/h2DwyhyraM1AwLbCbe26a+mQ0=,k1=v1&k2=v2\n"); | ||
sb.append("2017,11,1,1300070253,247762646,false,cjbs6isGO0K7ib1D65VbN4lZEwQv2Y6Q/PoFZhyyacA=,k1=v1&k2=v2\n"); | ||
sb.append("2017,11,1,843851309,1886346292,true,sb/xc+uoe/ZXRXTYIv9OTY33Rj+zSS96Mj/3LVPXvRM=,k1=v1&k2=v2\n"); | ||
sb.append("2017,11,1,2013370128,1783091056,false,9MW9X3OUr40r4B/qeLz55yJIrvw7Gdk8RWUulNadIyw=,k1=v1&k2=v2\n"); |
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.
Sample Entries
entryMap.put("value", values); | ||
BlockUtils.setComplexValue(vector, rowNum, FieldResolver.DEFAULT, entryMap); | ||
return true; //we don't yet support predicate pushdown on complex types | ||
}); |
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.
Value Returned to UI
Issue #, if available: 361
Description of changes:
This pull requests demonstrates adding Map Field in user Record Handler.
Athena does not support Map Field Type and hence any federated query connector with Map cannot use this code.
TODO: Athena should add support for MAP Field.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.