[feature](jdbc catalog) support gbase jdbc catalog#41027
Merged
zy-kkk merged 1 commit intoapache:masterfrom Sep 24, 2024
Merged
[feature](jdbc catalog) support gbase jdbc catalog#41027zy-kkk merged 1 commit intoapache:masterfrom
zy-kkk merged 1 commit intoapache:masterfrom
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
9ca05e4 to
43381c2
Compare
Member
Author
|
run buildall |
TPC-H: Total hot run time: 41836 ms |
TPC-DS: Total hot run time: 196144 ms |
ClickBench: Total hot run time: 33.23 s |
43381c2 to
5250637
Compare
5250637 to
bdfc07a
Compare
Member
Author
|
run buildall |
TPC-H: Total hot run time: 41688 ms |
TPC-DS: Total hot run time: 196232 ms |
ClickBench: Total hot run time: 33.83 s |
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
CalvinKirs
approved these changes
Sep 24, 2024
zy-kkk
added a commit
to zy-kkk/doris
that referenced
this pull request
Oct 8, 2024
## TEST
### Version
- Gbase: GBase8a_MPP_Cluster-NoLicense-FREE-9.5.3.28.12-redhat7-x86_64
- Gbase Jdbc Driver: gbase-connector-java-9.5.0.7-build1-bin.jar
### Meta And Data
```
Doris > CREATE CATALOG `gbase` PROPERTIES (
-> "user" = "root",
-> "type" = "jdbc",
-> "password" = "",
-> "jdbc_url" = "jdbc:gbase://127.0.0.1:5258/doris_test",
-> "driver_url" = "gbase-connector-java-9.5.0.7-build1-bin.jar",
-> "driver_class" = "com.gbase.jdbc.Driver"
-> );
Query OK, 0 rows affected (0.47 sec)
Doris > show databases from gbase;
+--------------------+
| Database |
+--------------------+
| doris_test |
| gbase |
| gclusterdb |
| gctmpdb |
| information_schema |
| mysql |
+--------------------+
6 rows in set (0.23 sec)
Doris > show tables from gbase.doris_test;
+----------------------+
| Tables_in_doris_test |
+----------------------+
| gbase_test |
| pt1 |
| pt2 |
| pt3 |
| pt4 |
+----------------------+
5 rows in set (0.03 sec)
Doris > desc gbase.doris_test.gbase_test;
+---------------+---------------+------+------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+---------------+------+------+---------+-------+
| tinyint_col | tinyint | Yes | true | NULL | |
| smallint_col | smallint | Yes | true | NULL | |
| int_col | int | Yes | true | NULL | |
| bigint_col | bigint | Yes | true | NULL | |
| float_col | float | Yes | true | NULL | |
| double_col | double | Yes | true | NULL | |
| decimal_col | decimal(10,2) | Yes | true | NULL | |
| numeric_col | decimal(10,2) | Yes | true | NULL | |
| char_col | text | Yes | true | NULL | |
| varchar_col | text | Yes | true | NULL | |
| text_col | text | Yes | true | NULL | |
| date_col | date | Yes | true | NULL | |
| datetime_col | datetime | Yes | true | NULL | |
| time_col | text | Yes | true | NULL | |
| timestamp_col | datetime | No | true | NULL | |
+---------------+---------------+------+------+---------+-------+
15 rows in set (0.08 sec)
Doris > select * from gbase.doris_test.gbase_test;
+-------------+--------------+---------+------------+-----------+------------+-------------+-------------+----------------------------------------------------+---------------+--------------------+------------+---------------------+----------+---------------------+
| tinyint_col | smallint_col | int_col | bigint_col | float_col | double_col | decimal_col | numeric_col | char_col | varchar_col | text_col | date_col | datetime_col | time_col | timestamp_col |
+-------------+--------------+---------+------------+-----------+------------+-------------+-------------+----------------------------------------------------+---------------+--------------------+------------+---------------------+----------+---------------------+
| 1 | 18 | 100 | 500000 | 1.75 | 70.5 | 12345.67 | 100.00 | John Doe | A description | Detailed text data | 2023-09-19 | 2023-09-19 12:34:56 | 12:00:00 | 2023-09-19 14:45:00 |
| NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 2024-09-19 23:17:06 |
+-------------+--------------+---------+------------+-----------+------------+-------------+-------------+----------------------------------------------------+---------------+--------------------+------------+---------------------+----------+---------------------+
2 rows in set (0.34 sec)
```
### Unsupported Type
- BLOB
- LONGBLOB
morningman
pushed a commit
to morningman/doris
that referenced
this pull request
Oct 18, 2024
## TEST
### Version
- Gbase: GBase8a_MPP_Cluster-NoLicense-FREE-9.5.3.28.12-redhat7-x86_64
- Gbase Jdbc Driver: gbase-connector-java-9.5.0.7-build1-bin.jar
### Meta And Data
```
Doris > CREATE CATALOG `gbase` PROPERTIES (
-> "user" = "root",
-> "type" = "jdbc",
-> "password" = "",
-> "jdbc_url" = "jdbc:gbase://127.0.0.1:5258/doris_test",
-> "driver_url" = "gbase-connector-java-9.5.0.7-build1-bin.jar",
-> "driver_class" = "com.gbase.jdbc.Driver"
-> );
Query OK, 0 rows affected (0.47 sec)
Doris > show databases from gbase;
+--------------------+
| Database |
+--------------------+
| doris_test |
| gbase |
| gclusterdb |
| gctmpdb |
| information_schema |
| mysql |
+--------------------+
6 rows in set (0.23 sec)
Doris > show tables from gbase.doris_test;
+----------------------+
| Tables_in_doris_test |
+----------------------+
| gbase_test |
| pt1 |
| pt2 |
| pt3 |
| pt4 |
+----------------------+
5 rows in set (0.03 sec)
Doris > desc gbase.doris_test.gbase_test;
+---------------+---------------+------+------+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+---------------+------+------+---------+-------+
| tinyint_col | tinyint | Yes | true | NULL | |
| smallint_col | smallint | Yes | true | NULL | |
| int_col | int | Yes | true | NULL | |
| bigint_col | bigint | Yes | true | NULL | |
| float_col | float | Yes | true | NULL | |
| double_col | double | Yes | true | NULL | |
| decimal_col | decimal(10,2) | Yes | true | NULL | |
| numeric_col | decimal(10,2) | Yes | true | NULL | |
| char_col | text | Yes | true | NULL | |
| varchar_col | text | Yes | true | NULL | |
| text_col | text | Yes | true | NULL | |
| date_col | date | Yes | true | NULL | |
| datetime_col | datetime | Yes | true | NULL | |
| time_col | text | Yes | true | NULL | |
| timestamp_col | datetime | No | true | NULL | |
+---------------+---------------+------+------+---------+-------+
15 rows in set (0.08 sec)
Doris > select * from gbase.doris_test.gbase_test;
+-------------+--------------+---------+------------+-----------+------------+-------------+-------------+----------------------------------------------------+---------------+--------------------+------------+---------------------+----------+---------------------+
| tinyint_col | smallint_col | int_col | bigint_col | float_col | double_col | decimal_col | numeric_col | char_col | varchar_col | text_col | date_col | datetime_col | time_col | timestamp_col |
+-------------+--------------+---------+------------+-----------+------------+-------------+-------------+----------------------------------------------------+---------------+--------------------+------------+---------------------+----------+---------------------+
| 1 | 18 | 100 | 500000 | 1.75 | 70.5 | 12345.67 | 100.00 | John Doe | A description | Detailed text data | 2023-09-19 | 2023-09-19 12:34:56 | 12:00:00 | 2023-09-19 14:45:00 |
| NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | NULL | 2024-09-19 23:17:06 |
+-------------+--------------+---------+------------+-----------+------------+-------------+-------------+----------------------------------------------------+---------------+--------------------+------------+---------------------+----------+---------------------+
2 rows in set (0.34 sec)
```
### Unsupported Type
- BLOB
- LONGBLOB
morningman
pushed a commit
to morningman/doris
that referenced
this pull request
Oct 19, 2024
…imit pushdown (apache#41587) followup apache#41027 We should map time to String and support reading time outside of 24 hours. and add limit pushdown
morningman
added a commit
that referenced
this pull request
Oct 21, 2024
morningman
added a commit
to morningman/doris
that referenced
this pull request
Oct 21, 2024
…e#41587 (apache#42123) cherry pick from apache#41027 apache#41587 --------- Co-authored-by: zy-kkk <zhongyk10@gmail.com>
morningman
added a commit
that referenced
this pull request
Oct 21, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TEST
Version
Meta And Data
Unsupported Type