File tree Expand file tree Collapse file tree
spark/src/main/java/org/apache/comet/vector Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public UTF8String getUTF8String(int rowId) {
149149 return UTF8String .fromString (convertToUuid (result ).toString ());
150150 }
151151 } else {
152- throw new RuntimeException ("Unsupported UTF8 vector type: " + valueVector .getName ());
152+ throw new IllegalStateException ("Unsupported UTF8 vector type: " + valueVector .getName ());
153153 }
154154 }
155155
@@ -166,7 +166,7 @@ public byte[] getBinary(int rowId) {
166166 length = fixedWidthVector .getTypeWidth ();
167167 offset = rowId * length ;
168168 } else {
169- throw new RuntimeException ("Unsupported binary vector type: " + valueVector .getName ());
169+ throw new IllegalStateException ("Unsupported binary vector type: " + valueVector .getName ());
170170 }
171171 byte [] result = new byte [length ];
172172 Platform .copyMemory (
You can’t perform that action at this time.
0 commit comments