airpal icon indicating copy to clipboard operation
airpal copied to clipboard

Build fails when specifying Presto version 0.157

Open avalenti opened this issue 8 years ago • 8 comments

I am trying to build Airpal with Presto version 0.157.
I am on step 1. Build Airpal - ./gradlew -Dairpal.prestoVersion=0.157 clean shadowJar This is the error that I get.

:compileJava /airpal/airpal-master/src/main/java/com/airbnb/airpal/presto/Table.java:80: error: incompatible types: ConnectorId cannot be converted to String return new Table(input.getConnectorId(), input.getSchema(), input.getTable(), columns); ^ Note: /airpal/airpal-master/src/main/java/com/airbnb/airpal/AirpalApplicationBase.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output 1 error :compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Thanks, Anthony

avalenti avatar Jan 09 '17 21:01 avalenti

Same error when building against presto 0.163.

dscottcs avatar Jan 24 '17 21:01 dscottcs

Again, anybady fix it?

pholien avatar Feb 16 '17 07:02 pholien

+1 Same error

ebirukov avatar Mar 01 '17 16:03 ebirukov

+1 same error. 0.167

superstrings avatar Mar 07 '17 11:03 superstrings

+1 same error on emr presto

Debyani avatar Mar 19 '17 03:03 Debyani

+1 anyone fixed it? i got the same error with the latest presto 0.169

liugaopeng avatar Mar 21 '17 02:03 liugaopeng

+1 Also fails on presto 0.191

LordWire avatar Dec 20 '17 10:12 LordWire

+1 Also fails on presto 0.187

mirandazhjm avatar Feb 09 '18 16:02 mirandazhjm