Analyze Table Unexpected Error

45 views
Skip to first unread message

Stephan Beuze

unread,
Jun 28, 2017, 3:44:16 PM6/28/17
to H2 Database
When I run the following query in h2 1.4.196:

analyze table foo_table sample_size 0;

I get the following error:

Syntax error in SQL statement "ANALYZE TABLE FOO_TABLE SAMPLE_SIZE[*] 0 "; expected "integer";

What am doing wrong? 

 

Noel Grandin

unread,
Jun 29, 2017, 2:28:00 AM6/29/17
to h2-da...@googlegroups.com
there was a bug in the parsing code. I've just pushed a fix​

Stephan Beuze

unread,
Jun 29, 2017, 2:32:36 AM6/29/17
to H2 Database
Thanks for your reply.
Reply all
Reply to author
Forward
0 new messages