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 2

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

Description (last modified by Dimitar Misev)

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 --queryfile 'FILE_PATH'

This should be implemented in source:applications/rasql/rasql.cc

Change History (2)

comment:1 by Bang Pham Huu, 7 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 7 years ago

Cc: Peter Baumann added
Description: modified (diff)
Owner: set to Joana Halili
Status: newassigned
Note: See TracTickets for help on using tickets.