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 Initial Version
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
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_PATH'
Note:
See TracTickets
for help on using tickets.