I have noticed quite a few posts in various groups about mystery of using 
encrypted tableId in google.visualization.Query(). In most cases it works 
but sometimes, unfortunately it doesn’t. 

 

Finally it hit me as well.

 

Here is the problem:

 

var queryUrl=’* http://www.google.com/fusiontables/gvizdata?tq=select 
minvalue from 
1zpPMHDcqmo0xXbmQz2uHhpx-BqWsBIwYAT_d4Kw<http://www.google.com/fusiontables/gvizdata?tq=select%20minvalue%20from%201zpPMHDcqmo0xXbmQz2uHhpx-BqWsBIwYAT_d4Kw>
*’;

var ds_Url = new google.visualization.Query(queryUrl);

 

google.visualization.Query() gives an error: 'Could not parse query'.

 

This query fails!

*http://www.google.com/fusiontables/gvizdata?tq=select minvalue from 
1zpPMHDcqmo0xXbmQz2uHhpx-BqWsBIwYAT_d4Kw<http://www.google.com/fusiontables/gvizdata?tq=select%20minvalue%20from%201zpPMHDcqmo0xXbmQz2uHhpx-BqWsBIwYAT_d4Kw>
*

 

Since there is nothing wrong with that query I have recreated the same 
fusion table with the same data using excel file. This time I have got a 
different tableId 

 

This query is OK!

*http://www.google.com/fusiontables/gvizdata?tq=select minvalue from 
1lgaLq3WkE11rS5M1ZxYSqirCMi6HxrkTdc_2iX4*

 

 

It suspect that the parser is having a problem with a minus ('-' ) 
character in the encrypted tableID string.

 

Could anyone confirm my suspicions?

 

Bogdan

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to