Community
Participate
Working Groups
sometimes the SQL auto generated from wizards is wrong. The reason is that the SQL is composed based on an unordered set of options. The attached patch fixes the problem
Created attachment 85173 [details] This patch fixes the problem
More details about the bug: When the user creates a table using the wizard, at times he gets erroneous sql. The reason for the inconsistency is that the sql is composed according to the different elements and options available in the wizard, but the order of the sql statements generated depends on a non ordered predefined Set of options. The patch actually modifies the Set to be an ordered Set so that the result is consistent and the SQL generated is correct. It is rather annoying for the user, getting an execution error while running an SQL that is auto-generated for him by the wizard.