liyafan82 commented on a change in pull request #8475:
URL: https://github.com/apache/arrow/pull/8475#discussion_r506095989
##########
File path: java/vector/src/main/codegen/templates/UnionVector.java
##########
@@ -294,10 +294,10 @@ public StructVector getStruct() {
}
return ${uncappedName}Vector;
}
- <#if minor.class == "Decimal">
+ <#if minor.class?ends_with("Decimal")>
public ${name}Vector get${name}Vector() {
if (${uncappedName}Vector == null) {
- throw new IllegalArgumentException("No Decimal Vector present. Provide
ArrowType argument to create a new vector");
+ throw new IllegalArgumentException("No Decimal ${uncappedName} present.
Provide ArrowType argument to create a new vector");
Review comment:
It should be "No ${uncappedName} vector present ..." ?
----------------------------------------------------------------
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:
[email protected]