Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

Add SAP HANA for TPCC#262

Open
suafeng wants to merge 9 commits into
oltpbenchmark:masterfrom
suafeng:merge-hana
Open

Add SAP HANA for TPCC#262
suafeng wants to merge 9 commits into
oltpbenchmark:masterfrom
suafeng:merge-hana

Conversation

@suafeng

@suafeng suafeng commented Oct 6, 2018

Copy link
Copy Markdown
  1. Add tpcc ddl for sap hana.
  2. Add hana to database type catalog.
  3. Add sap hana jdbc driver jar.

@apavlo apavlo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

See fix requests.

What is ngdbc.jar?

Comment thread config/sample_hanatpcc_config.xml Outdated
Comment thread config/sample_hanatpcc_config.xml Outdated
Comment thread src/com/oltpbenchmark/types/DatabaseType.java Outdated
@suafeng

suafeng commented Oct 7, 2018

Copy link
Copy Markdown
Author

ngdbc.jar is com.sap.db.jdbc.Driver.

@flytiger

Copy link
Copy Markdown

instead of check-in the ngdbc.jar, it might be better to add dependency in ivy.xml?

// one that fakes the getGeneratedKeys().
if (is != null && this.dbType == DatabaseType.POSTGRES) {
if (is != null && this.dbType == DatabaseType.POSTGRES ||
(this.dbType == DatabaseType.HANA)) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is this necessary? the AutoIncrementPreparedStatement doesn't have special handling for HANA anyway.

@eoinmarron

Copy link
Copy Markdown

Hi @suafeng, folks,
Do we've any idea when these changes would be applied, so this support would be included?
Thank you,
Eoin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants