Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.18.1, 3.19.0
-
None
-
Unknown
Description
Recent change of the component brought some problems:
- If select * from query is executed then it causes NPE.
Caused by: java.lang.NullPointerException at org.apache.camel.component.google.bigquery.sql.GoogleBigQuerySQLProducer.executeSQL(GoogleBigQuerySQLProducer.java:111) at org.apache.camel.component.google.bigquery.sql.GoogleBigQuerySQLProducer.process(GoogleBigQuerySQLProducer.java:82) at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:66)
- Another problem is that the result of the producer for `select` queries should be the totalRows from the result.
Code causing the troubles is https://github.com/apache/camel/commit/bdd495048da891a2e856a116355e9ca6b6f58c72#diff-fd3f8e800c602d7167e9cdbfb4d6af42e1e6223d05eae2242b9c5b14703862ffR111-R116
Attachments
Issue Links
- links to