> The type org.apache.arrow.vector.types.pojo.ArrowType$Int cannot
be resolved.

This is a generated class. The source should be in the vector module, under
target/generated-sources when the build starts. The process varies somewhat
depending on the Arrow version, but if you're not seeing the source code,
you could try the instructions at
https://arrow.apache.org/docs/developers/java/index.html for the 10.0
instructions.

Hope that helps

On Mon, Dec 12, 2022 at 7:18 PM James Duong <jam...@bitquilltech.com.invalid>
wrote:

> I have been trying to build Java from the root pom and am seeing errors
> while running Flight-core tests from maven, suggesting build issues with
> pojo classes:
>
> [ERROR]   TestDictionaryUtils.<init>:1  Unresolved compilation problems:
> The type org.apache.arrow.vector.types.pojo.ArrowType$Int cannot be
> resolved. It is indirectly referenced from required type
> org.apache.arrow.vector.types.pojo.DictionaryEncoding
> The import org.apache.arrow.vector.types.pojo.ArrowType cannot be resolved
> ArrowType cannot be resolved to a type
>
> I'm building from command-line using mvn clean install. Using JDK OpenJDK
> 11 on macOS Ventura (intel).
>
> Build output shows the following built before flight-grpc:
> [INFO] Apache Arrow Java Root POM ......................... SUCCESS [
>  8.002 s]
> [INFO] Arrow Format ....................................... SUCCESS [
>  5.354 s]
> [INFO] Arrow Memory ....................................... SUCCESS [
>  1.898 s]
> [INFO] Arrow Memory - Core ................................ SUCCESS [
>  9.141 s]
> [INFO] Arrow Memory - Unsafe .............................. SUCCESS [
>  5.892 s]
> [INFO] Arrow Memory - Netty ............................... SUCCESS [
> 11.048 s]
> [INFO] Arrow Vectors ...................................... SUCCESS [01:52
> min]
> [INFO] Arrow Compression .................................. SUCCESS [
>  7.689 s]
> [INFO] Arrow Tools ........................................ SUCCESS [
> 13.232 s]
> [INFO] Arrow JDBC Adapter ................................. SUCCESS [
> 21.130 s]
> [INFO] Arrow Plasma Client ................................ SUCCESS [
>  6.158 s]
> [INFO] Arrow Flight ....................................... SUCCESS [
>  2.107 s]
> [INFO] Arrow Flight Core .................................. FAILURE [
> 27.441 s]
>
> Does anyone know why this might be failing?
> Thanks
>
> --
>
> *James Duong*
> Lead Software Developer
> Bit Quill Technologies Inc.
> Direct: +1.604.562.6082 | jam...@bitquilltech.com
> https://www.bitquilltech.com
>
> This email message is for the sole use of the intended recipient(s) and may
> contain confidential and privileged information.  Any unauthorized review,
> use, disclosure, or distribution is prohibited.  If you are not the
> intended recipient, please contact the sender by reply email and destroy
> all copies of the original message.  Thank you.
>

Reply via email to