Netezza Query is not running in(Pyspark) Sandbox

Highlighted
Four Stars

Netezza Query is not running in(Pyspark) Sandbox

Hello,

I am facing the issue with the below error while running the query in sandbox.

 

Py4JJavaError: An error occurred while calling o1201.load. : org.netezza.error.NzSQLException: ERROR: 'SELECT * FROM...... .......... .......... error ^ found "table" (at char 28) expecting `CROSS' or `FULL' or `INNER_P' or `JOIN' or `LEFT' at org.netezza.internal.QueryExecutor.getNextResult(QueryExecutor.java:287) at org.netezza.internal.QueryExecutor.execute(QueryExecutor.java:76) at org.netezza.sql.NzConnection.execute(NzConnection.java:2904) at org.netezza.sql.NzPreparedStatament._execute(NzPreparedStatament.java:1163) at org.netezza.sql.NzPreparedStatament.prepare(NzPreparedStatament.java:1180) at org.netezza.sql.NzPreparedStatament.(NzPreparedStatament.java:96) at org.netezza.sql.NzConnection.prepareStatement(NzConnection.java:1106) at org.apache.spark.sql.execution.datasources.jdbc.JDBCRDD$.resolveTable(JDBCRDD.scala:60) at org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation.(JDBCRelation.scala:114) at org.apache.spark.sql.execution.datasources.jdbc.JdbcRelationProvider.createRelation(JdbcRelationProvider.scala:52) at org.apache.spark.sql.execution.datasources.DataSource.resolveRelation(DataSource.scala:309) at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:178) at org.apache.spark.sql.DataFrameReader.load(DataFrameReader.scala:146) at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357) at py4j.Gateway.invoke(Gateway.java:280) at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) at py4j.commands.CallCommand.execute(CallCommand.java:79) at py4j.GatewayConnection.run(GatewayConnection.java:214) at java.lang.Thread.run(Thread.java:745)

 

While running the same query from SAS EGuide, it is working fine. I am struggling past few weeks to get it resolved. Your help would be highly appreciable. Thanks in Advance

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now