Unfortunately, it no longer seems to work because I get the following error:
main, :exception=>"Java::JavaLang::IllegalArgumentException", :message=>"Failed to parse right-hand side of conditional [str]pipeline:1723:6:```\n[tags] == []\n```
If I remove the conditional, the error no longer occurs.
Is there a new LS6 compatible way to check if tags is empty?
Is that test looking to see if the tags field exists, rather than if it's empty? I put that code in specifically to remove the tags field if it contains no elements. In my configuration pipeline, it's possible that I've added values to [tags] and then removed them again by the end of processing.
I guess it's no biggy if tags in hanging around with nothing in it, but it would be nice if the configuration language supported this feature (again).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.