Github user prashantkommireddi commented on a diff in the pull request:
https://github.com/apache/incubator-phoenix/pull/22#discussion_r10854331
--- Diff: phoenix-pig/src/main/java/org/apache/phoenix/pig/TypeUtil.java ---
@@ -185,5 +194,85 @@ public static Object castBytes(Object o, PDataType
targetPhoenixType) throws IOE
return o;
}
}
+
+ public static Tuple transformToTuple(final PhoenixRecord record, final
List<? extends ColumnProjector> projectedColumns) throws IOException {
--- End diff --
This one would require a bunch of test cases to try out different
conversions/casts
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---