Skip to content

Improve SingleStore(MemSql) type mapping tests#11362

Merged
hashhar merged 1 commit intotrinodb:masterfrom
tangjiangling:separate-MemSql-testBasicTypes
Mar 8, 2022
Merged

Improve SingleStore(MemSql) type mapping tests#11362
hashhar merged 1 commit intotrinodb:masterfrom
tangjiangling:separate-MemSql-testBasicTypes

Conversation

@tangjiangling
Copy link
Copy Markdown
Member

@tangjiangling tangjiangling commented Mar 8, 2022

This commit includes:

  • Add separate tests for SQL Server tinyint/smallint/integer/bigint
  • Add min/max/min-1/max+1 test cases
  • Cover more tests using trinoCreateAndInsert in TestMemSqlTypeMapping
  • Remove unnecessary tpch from tableNamePrefix
  • Reuse trinoCreateAndInsert in TestMemSqlTypeMapping

Description

Is this change a fix, improvement, new feature, refactoring, or other?

Improvement.

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

SingleStore(MemSql) type mapping tests.

How would you describe this change to a non-technical end user or system administrator?

N/A.

Related issues, pull requests, and links

Related #11181

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

Copy link
Copy Markdown
Member

@ebyhr ebyhr left a comment

Choose a reason for hiding this comment

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

Please fix commit body where it mentions "SQL Server"

@tangjiangling tangjiangling force-pushed the separate-MemSql-testBasicTypes branch from c1efc09 to 3929390 Compare March 8, 2022 09:02
@tangjiangling
Copy link
Copy Markdown
Member Author

done

This commit includes:

- Add separate tests for SingleStore tinyint/smallint/integer/bigint
- Add min/max/min-1/max+1 test cases
- Cover more tests using trinoCreateAndInsert in TestMemSqlTypeMapping
- Remove unnecessary `tpch` from `tableNamePrefix`
- Reuse trinoCreateAndInsert in TestMemSqlTypeMapping
@tangjiangling tangjiangling force-pushed the separate-MemSql-testBasicTypes branch from 3929390 to 957d45d Compare March 8, 2022 10:07
@hashhar hashhar merged commit b75805a into trinodb:master Mar 8, 2022
@tangjiangling tangjiangling deleted the separate-MemSql-testBasicTypes branch March 8, 2022 15:01
@github-actions github-actions bot added this to the 373 milestone Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants