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

Show Materialized View should honor fully qualified name of database ie.., catalog_name.database_name #54134

Open
amoghmargoor opened this issue Dec 19, 2024 · 1 comment · May be fixed by #56174
Labels
type/bug Something isn't working

Comments

@amoghmargoor
Copy link

Steps to reproduce the behavior (Required)

mysql>
mysql> show materialized views from default_catalog.test;
ERROR 5501 (3F000): Getting analyzing error. Detail message: Unknown database 'default_catalog.test'.
mysql>
mysql>
mysql> use default_catalog.test;
Database changed
mysql> show materialized views;
+-------+---------------+-------+--------------+-----------+-----------------+----------------+---------+-----------+-------------------------+----------------------------+-----------------------+--------------------+----------------------------+------------------------------+----------------------------+--------------------------------------+------------------------------------+-------------------------+----------------------------+------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+------------+
| id    | database_name | name  | refresh_type | is_active | inactive_reason | partition_type | task_id | task_name | last_refresh_start_time | last_refresh_finished_time | last_refresh_duration | last_refresh_state | last_refresh_force_refresh | last_refresh_start_partition | last_refresh_end_partition | last_refresh_base_refresh_partitions | last_refresh_mv_refresh_partitions | last_refresh_error_code | last_refresh_error_message | rows | text

Expected behavior (Required)

Should work like last command above.

Real behavior (Required)

Throws error: ERROR 5501 (3F000): Getting analyzing error. Detail message: Unknown database 'default_catalog.test'.

StarRocks version (Required)

  • 3.3.7
@amoghmargoor amoghmargoor added the type/bug Something isn't working label Dec 19, 2024
@amoghmargoor amoghmargoor linked a pull request Feb 21, 2025 that will close this issue
24 tasks
@amoghmargoor
Copy link
Author

amoghmargoor commented Feb 21, 2025

Raised a PR: #56174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant