Opened 7 years ago

Last modified 7 years ago

#1589 closed defect

Rasql_Read query from a file when it is too long for bash — at Version 1

Reported by: Bang Pham Huu Owned by:
Priority: major Milestone: Future
Component: rasql Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu, bbell, Peter Baumann
Complexity: Medium

Description (last modified by Bang Pham Huu)

For big GRIB file (see here for a small query: https://pastebin.com/ui4WPUpC), the rasql query to update collection exceeds the maximum characters for bash (terminal) with the error "Argument list too long", example: http://earthserver.eu/trac2/ticket/225

So rasql should read the big query from a file like this

rasql -p 7001 --user rasadmin --passwd rasadmin -q 'file://FILE_PATH'

Change History (1)

comment:1 by Bang Pham Huu, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.