Netezza Query is not running in(Pyspark) Sandbox

Four Stars

Netezza Query is not running in(Pyspark) Sandbox


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( at org.netezza.internal.QueryExecutor.execute( at org.netezza.sql.NzConnection.execute( at org.netezza.sql.NzPreparedStatament._execute( at org.netezza.sql.NzPreparedStatament.prepare( at org.netezza.sql.NzPreparedStatament.( at org.netezza.sql.NzConnection.prepareStatement( 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( at java.lang.reflect.Method.invoke( at py4j.reflection.MethodInvoker.invoke( at py4j.reflection.ReflectionEngine.invoke( at py4j.Gateway.invoke( at py4j.commands.AbstractCommand.invokeMethod( at py4j.commands.CallCommand.execute( at at


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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch 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


Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now