-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(csharp/src/Drivers/Apache): fix to workaround concurrency issue #2282
fix(csharp/src/Drivers/Apache): fix to workaround concurrency issue #2282
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just a few typos in comments that would be good to fix.
@@ -30,8 +30,12 @@ namespace Apache.Arrow.Adbc.Tests.Drivers.Apache.Spark | |||
/// <remarks> | |||
/// Tests are ordered to ensure data is created for the other | |||
/// queries to run. | |||
/// <para>Note: This test create/replaces the table identified in the configuration (metadata/table). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: creates
@@ -30,8 +30,12 @@ namespace Apache.Arrow.Adbc.Tests.Drivers.Apache.Spark | |||
/// <remarks> | |||
/// Tests are ordered to ensure data is created for the other | |||
/// queries to run. | |||
/// <para>Note: This test create/replaces the table identified in the configuration (metadata/table). | |||
/// It uses the test collection "TableCreateTestCollection" to ensure it does not run | |||
/// as the same time as any other tests that may create/udate the same table.</para> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: update
@@ -36,8 +36,12 @@ namespace Apache.Arrow.Adbc.Tests.Drivers.Apache.Spark | |||
/// <remarks> | |||
/// Tests are ordered to ensure data is created for the other | |||
/// queries to run. | |||
/// <para>Note: This test create/replaces the table identified in the configuration (metadata/table). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: creates
@@ -36,8 +36,12 @@ namespace Apache.Arrow.Adbc.Tests.Drivers.Apache.Spark | |||
/// <remarks> | |||
/// Tests are ordered to ensure data is created for the other | |||
/// queries to run. | |||
/// <para>Note: This test create/replaces the table identified in the configuration (metadata/table). | |||
/// It uses the test collection "TableCreateTestCollection" to ensure it does not run | |||
/// as the same time as any other tests that may create/udate the same table.</para> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: update
Provides an interim work-around for the concurrency issue identified in #2280.
DELETE
statements from the SQL table scripts.HttpRequestTimeout
due to an incomplete implementation of theValidateOptions
inSparkDatabricksConnection
.CREATE OR REPLACE TABLE
to reduce probably of inconsistent state.Note: this is not the final solution. A more robust isolation of table creation needs to done to isolate concurrency.