I have a problem about Hive to Spark node with comments like “–comment”.
When I used DB Table Selector node with comments berfore Hive to Spark node,
then newlines in the query are ignored and the error occurs because the query is not recognized from comments.
It is very critical issue I think…
I’d appreciate it if you could tell me how to solve this problem.
@sascha.wolke since you are at it. Hive also does not seem to like comments Wahn using sql queries in a row. The first one would work but then they get stacked onto each other and a comment might be a problem. Not sure is there is an easy fix …
Currently, all newlines are removed, and the entire query becomes one line. As a result, everything below a comment now becomes part of the comment, and is ignored.
@mlauber71 Do you talk about a second bug? Not sure what you mean with queries in a row, comments starting with -- does not work between queries anyway. Do you have an example?