sercanCyberVision commented on code in PR #5952:
URL: https://github.com/apache/hive/pull/5952#discussion_r2198139947


##########
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryTimestamp.java:
##########
@@ -32,6 +37,13 @@ public class LazyBinaryTimestamp extends
     LazyBinaryPrimitive<WritableTimestampObjectInspector, TimestampWritableV2> 
{
   static final Logger LOG = LoggerFactory.getLogger(LazyBinaryTimestamp.class);
 
+  // Legacy mode flag
+  private static boolean legacyModeEnabled = false;

Review Comment:
   Thank you @deniskuzZ 
   I pass the flag from `LazyBinaryColumnarSerDe.initialize` down to 
`LazyBinaryTimestamp`, since `LazyBinaryTimestamp` doesn’t have access to the 
configuration object. 
   Would it be acceptable to add a Configuration object to 
`LazyBinaryTimestamp` and read the property directly inside `init()`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to