Hi, Anderson,

Thanks for your patience while we work through all these issues.  It 
appears that there is one more code path that could print strings -- 
hopefully, the last.  It has been adjusted to print strings in double 
quotes.  Please update your version of the source code from the SVN 
repository when you get the chance.  Let us know if you find anything 
else.

John


On 11/4/2010 7:49 AM, Anderson C. Carniel wrote:
> Hi John,
>
> installed the new version, and now the strings are getting quotes. But
> when you use an aggregate function or library math.h he is not quoted.
> For example:
>
> this query:
>
> /opt/fastbit-ibis1.2.1/examples/ibis -d /test/index0 -v -o
> /test/result.csv -q "select col0, col2, col3 where col3 = '1994'"
>
> Was generated the following result in the output:
>
> col0, col2, col3 (with counts)
> 0, "EGYPT ", "1994", 7462
> 0, "JAPAN ", "1994", 6751
> 0, "VIETNAM ", "1994", 7449
> 0, "IRAN ", "1994", 6910
> 0, "ETHIOPIA ", "1994", 7551
> 0, "JORDAN ", "1994", 7015
> 0, "UNITED STATES ", "1994", 6969
>
>
> But when run the query:
>
> /opt/fastbit-ibis1.2.1/examples/ibis -d /test/index0 -v -o
> /test/result.csv -q "select sum(col0), col2, col3 where col3 = '1994'"
>
> it generates the following output:
> Ouvir
> Ler foneticamente
>
> 103360454795, ALGERIA , 1994, 35319
> 108926060627, ARGENTINA , 1994, 37536
> 99520026271, BRAZIL , 1994, 34350
> 107743034264, CANADA , 1994, 37097
> 115244111459, CHINA , 1994, 39088
> 109108395621, EGYPT , 1994, 37527
> 104227138700, ETHIOPIA , 1994, 36203
> 106759181474, FRANCE , 1994, 36453
>
> Thanks
>
>  > Date: Wed, 3 Nov 2010 21:34:32 -0700
>  > From: [email protected]
>  > To: [email protected]
>  > CC: [email protected]
>  > Subject: Re: [FastBit-users] Quote in -o
>  >
>  > Hi, Anderson,
>  >
>  > The print issue should be fixed now along with quite a few others.
>  > You can download the new code marked as FastBit IBIS1.2.1
>  > <https://codeforge.lbl.gov/frs/shownotes.php?release_id=217>. Please
>  > let us know if you encounter any other issues. Thanks.
>  >
>  > John
>  >
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to