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

The columns table in information_schema is not compatible with MySQL #3606

Closed
killme2008 opened this issue Mar 28, 2024 · 0 comments · Fixed by #3639
Closed

The columns table in information_schema is not compatible with MySQL #3606

killme2008 opened this issue Mar 28, 2024 · 0 comments · Fixed by #3639
Labels
C-bug Category Bugs

Comments

@killme2008
Copy link
Contributor

killme2008 commented Mar 28, 2024

What type of bug is this?

Incorrect result

What subsystems are affected?

Table Engine

Minimal reproduce step

Missing lots of columns:

mysql> DESC COLUMNS;
+----------------+--------+------+------+---------+---------------+
| Column         | Type   | Key  | Null | Default | Semantic Type |
+----------------+--------+------+------+---------+---------------+
| table_catalog  | String |      | NO   |         | FIELD         |
| table_schema   | String |      | NO   |         | FIELD         |
| table_name     | String |      | NO   |         | FIELD         |
| column_name    | String |      | NO   |         | FIELD         |
| data_type      | String |      | NO   |         | FIELD         |
| semantic_type  | String |      | NO   |         | FIELD         |
| column_default | String |      | YES  |         | FIELD         |
| is_nullable    | String |      | NO   |         | FIELD         |
| column_type    | String |      | NO   |         | FIELD         |
| column_comment | String |      | YES  |         | FIELD         |
+----------------+--------+------+------+---------+---------------+

But MySQL columns table has many other columns:

https://dev.mysql.com/doc/refman/8.0/en/information-schema-columns-table.html

What did you expect to see?

As described above.

What did you see instead?

As described above.

What operating system did you use?

All os

What version of GreptimeDB did you use?

0.7.1

Relevant log output and stack trace

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category Bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant