Member since
02-13-2018
2
Posts
0
Kudos Received
0
Solutions
02-15-2018
12:24 PM
@Daniel Perry You can try to use expression and cat command, something like this (but it won't work if you have comments in hql file, so remove all comments): beeline
-e “$(hdfs dfs -cat <hdfs_filename>)” if you still want to keep comments you can pipeline the output to sed, keep in mind that comments should start from a new line: beeline -e “$(hdfs dfs -cat <hdfs_filename> | sed -e 's/^--.*//g' )' )”
... View more