Let me know if there is an option to pipe in commands from file w/o copying the file to container.
On Wed, Oct 23, 2019 at 7:43 AM Sivabalan <[email protected]> wrote: > I got it working. I had to copy the file to the container. thanks. > > On Wed, Oct 23, 2019 at 6:30 AM Bhavani Sudha <[email protected]> > wrote: > >> Hi Siva, >> >> What errors are you seeing? -f is correct option to pass in a file. Were >> you able to test the same command in non-docker setup ? >> >> Thanks, >> Sudha >> >> On Tue, Oct 22, 2019 at 8:16 PM Sivabalan <[email protected]> wrote: >> >> > Hi folks, >> > I am trying to execute presto commands from a file, but having some >> > issues. May I know whats the right way to do. >> > >> > This is what I have tried so far to no avail. Or does --execute have any >> > option to pass in files as input? >> > >> > docker exec -it presto-worker-1 presto --server >> presto-coordinator-1:8090 >> > -f file.sql >> > >> > >> > // file.sql contains multiple presto queries. >> > >> > -- >> > Regards, >> > -Sivabalan >> > >> > > > -- > Regards, > -Sivabalan > -- Regards, -Sivabalan
