how to pass dynamical parameter value to presto query in command line
@kiranps11 I don't understand the question. Could you explain a bit more?
Hello @mbasmanova ,
My query is like : select * from table_a where dat='${date_value}' and the date_value will be a variable .
I need to pass the $date_value to presto in command line .
Is:
cat << EOF | presto-cli
select * from table_a where dat='${date_value}';
EOF
Good enough for you?
Most helpful comment
Is:
Good enough for you?