Hi, Thiago,

I am adding a few words about the -f option to ibis.cpp now.

If you are willing to directly work ibis::query object, more 
specifically ibis::qExpr object, they you might be able to bypass the 
need to parse the long query expression as well.  Please let us know 
if you are interested in this option.

John


On 7/12/11 7:46 PM, thiago wrote:
> Hello all,
> as Teryl reported before, there is a -f flag that does the job. Is it
> me or there isn't anything in the documentation about it? Just asking
> because I believe this is an important information.
>
> Best,
> Thiago
>
>
>
>
> On 12 July 2011 20:05, thiago <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi, Teryl
>     Thanks for the reply, its good to know that. Today I implemented
>     in ibis.cpp a reading function. Now Ill try your suggestion.
>
>     Best,
>     Thiago
>
>     Em 12/07/2011 19:32, "Teryl Taylor" <[email protected]
>     <mailto:[email protected]>> escreveu:
>
>      > Hi Thiago,
>      >
>      > Are you using the ibis program to do your querying? Just
>     looking at the
>      > source code quickly, it looks like it has a "-f" parameter that
>     can take a
>      > file name with a select statement that ends with a ";". You
>     could try that.
>      > Have a look at the "readQueryFile" and "parse_args" methods in
>     ibis.cpp if
>      > you are unsure.
>      >
>      > HTH
>      >
>      > Cheers,
>      >
>      > Teryl
>      >
>      >
>      >
>      > On Tue, Jul 12, 2011 at 9:51 AM, thiago
>     <[email protected] <mailto:[email protected]>>
>     wrote:
>      >
>      >> Dear colleagues,
>      >> I am facing the following problem: my query is too long and it
>     cannot be
>      >> passed through *-q* flag. Usually my queries have 300K
>     characters and it
>      >> exceeds the shell limit itself. So I would like to know if
>     there is any way
>      >> I can pass the query string using an external file.
>      >> I wasn't able to find any clue in the documentation and I
>     started to
>      >> consider ideas such as overcoming this restriction by some
>     method or even
>      >> implementing it in the source. Any help is appreciated, even
>     some tips on
>      >> how to search for this topic.
>      >>
>      >> Best regards,
>      >> Thiago
>      >>
>      >>
>      >> _______________________________________________
>      >> FastBit-users mailing list
>      >> [email protected] <mailto:[email protected]>
>      >> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
>      >>
>      >>
>
>
>
>
> _______________________________________________
> FastBit-users mailing list
> [email protected]
> https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to