danny0405 commented on a change in pull request #1878: [CALCITE-3782]Bitwise 
agg operator Bit_And, Bit_OR and Bit_XOR support binary and varbinary type
URL: https://github.com/apache/calcite/pull/1878#discussion_r399613737
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/runtime/CalciteResource.java
 ##########
 @@ -918,4 +918,7 @@
 
   @BaseMessage("Invalid input for EXTRACTVALUE: xml: ''{0}'', xpath 
expression: ''{1}''")
   ExInst<CalciteException> invalidInputForExtractValue(String xml, String 
xpath);
+
+  @BaseMessage("Invalid length for bitwise operator of input binary value")
+  ExInst<CalciteException> invalidInputForBitwiseBinaryValue();
 
 Review comment:
   Actually the error throws because the two params have different length.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to