guiyanakuang commented on issue #1644:
URL: https://github.com/apache/orc/issues/1644#issuecomment-1790017243
@neopaf, I think org.apache.orc.OrcUtils#includeColumns will work. You can
run this test code.
```java
@Test
public void test() {
TypeDescription typeDescription = TypeDescription.fromString(
"struct<data:struct<request:struct<analyticCharacteristic:array<struct<id:string>>>>>");
boolean[] booleans =
includeColumns("data.request.analyticCharacteristic.id", typeDescription);
for (boolean aBoolean : booleans) {
System.out.print(aBoolean + " ");
}
}
```
Print results "false false false true true true"
The index number of id is 5, true means that we support creating Bloom
filter for it
--
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]