Skip to content
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

Support for Sybase ASE and Informix #349

Closed
wants to merge 5 commits into from

Conversation

anasY2
Copy link

@anasY2 anasY2 commented Aug 23, 2023

No description provided.

@anasY2 anasY2 mentioned this pull request Aug 23, 2023
Copy link
Member

@apavlo apavlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anasY2 Thank you for submitting this. Please see my comments about your commits.

Is there a way for us to add this to our CI tests with a Docker installation of Informix/Sybase? It would be nice to know that we can maintain compatibility with these systems over the years.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What changed in this file other than whitespace?

@@ -77,7 +77,7 @@ protected List<Worker<? extends BenchmarkModule>> makeWorkersImpl() {
// LOADING FROM THE DATABASE IMPORTANT INFORMATION
// LIST OF USERS
Table t = this.getCatalog().getTable("USERTABLE");
String userCount = SQLUtil.getMaxColSQL(this.workConf.getDatabaseType(), t, "ycsb_key");
String userCount = SQLUtil.getMaxColSQL(this.workConf.getDatabaseType(), t, "YCSB_KEY");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change specific to Informix?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was for Sybase ASE as it was not working with smaller case.

@@ -35,7 +35,8 @@ public enum DatabaseType {
DB2(true, false),
H2(true, false),
HSQLDB(false, false),
POSTGRES(false, false, true),
INFORMIX(false, false),
POSTGRES(false, false),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change Postgres?

@@ -47,8 +48,9 @@ public enum DatabaseType {
SPANNER(false, true),
SQLAZURE(true, true, true),
SQLITE(true, false),
SQLSERVER(true, true, true),
TIMESTEN(true, false),
SQLSERVER(true, false),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change SQLSERVER?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change syntax case?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change syntax case?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, these changes seem unnecessary.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unnecessary case changes. Please revert.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't include this change. It's only for local dev debugging.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this file?

@anasY2
Copy link
Author

anasY2 commented Sep 25, 2023

@apavlo I will correct the things you have mentioned and will make a new PR.
Thankyou for suggestions :).

@anasY2 anasY2 closed this Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants