I have a shell script (get_data.sh) using heredoc to read the content of a table from a Apache Phoenix Server and then dump the output to a CSV file:
#!/bin/s