liuchang0520 commented on a change in pull request #7269:
URL: https://github.com/apache/pinot/pull/7269#discussion_r687055354



##########
File path: 
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/recordtransformer/NullValueTransformer.java
##########
@@ -41,6 +45,14 @@ public NullValueTransformer(Schema schema) {
         }
       }
     }
+
+    if (tableConfig.getValidationConfig().isNullTimeColumnHandlingEnabled() && 
schema.getTimeFieldSpec() != null && 
schema.getTimeFieldSpec().getIncomingGranularitySpec() != null) {

Review comment:
       Same thing here. I think we can use `getTimeFieldSpec`. 
`getSpecForTimeColumn` is used to get `DATE_TIME` column. 




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to