The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"DatabaseExampleSetWriter error"
When I have DatabaseExampleSetWriter with overwrite_mode set to "overwrite" it works correctly. However, if I have overwrite_mode set to "append" or "overwrite first, append then", I get the following error:
UPDATE: This actually doesn't appear to be related to appen/overwrite, but rather writing nominal values to a database.
This causes an error:
Keith
Is this a bug, or user error?
PatternSyntaxException caught:
Unclosed character class near index0
[
^
UPDATE: This actually doesn't appear to be related to appen/overwrite, but rather writing nominal values to a database.
This causes an error:
This one doesn't. The only change is now I'm using ExampleSetGenerator to produce all numeric data.
<operator name="Root" class="Process" expanded="yes">
<operator name="NominalExampleSetGenerator" class="NominalExampleSetGenerator">
<parameter key="number_of_attributes" value="1"/>
<parameter key="number_of_values" value="3"/>
</operator>
<operator name="DatabaseExampleSetWriter" class="DatabaseExampleSetWriter">
<parameter key="database_system" value="Microsoft SQL Server (Microsoft)"/>
<parameter key="database_url" value="jdbc:sqlserver:xxxxxx"/>
<parameter key="overwrite_mode" value="overwrite"/>
<parameter key="password" value="xxxxxx"/>
<parameter key="table_name" value="rm_test"/>
<parameter key="username" value="xxxxxx"/>
</operator>
</operator>
Thanks,
<operator name="Root" class="Process" expanded="yes">
<operator name="ExampleSetGenerator" class="ExampleSetGenerator">
<parameter key="target_function" value="sum"/>
</operator>
<operator name="DatabaseExampleSetWriter" class="DatabaseExampleSetWriter">
<parameter key="database_system" value="Microsoft SQL Server (Microsoft)"/>
<parameter key="database_url" value="jdbc:sqlserver:xxxxx"/>
<parameter key="overwrite_mode" value="overwrite"/>
<parameter key="password" value="xxxxx"/>
<parameter key="table_name" value="rm_test"/>
<parameter key="username" value="xxxxx"/>
</operator>
</operator>
Keith
Tagged:
0
Answers
this seems to be a quoting problem to me. Does one of your nominal values include some strange character?
And could you please post the version and type of your Microsoft SQL Server?
Greetings,
Sebastian
The database server is running SQL Server 2005 standard edition, version 9.0.3042
It's SQL Server2005 (standard), 9.0.3042
Thanks,
Jason
good news! We have found the bug. The correct version is now available in cvs developer branch or with the next regular update for the enterprise edition which will be published in around a week.
Greetings,
Sebastian
I'm on RM Enterprise 4.3.000 with MS SQL 2005 and am bumping into exactly the same problem. Any idea when the fix will be published? Soon would be great ;D