starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

Querying iceberg table is not allowed under hive catalog

Open stephen-shelby opened this issue 3 years ago • 0 comments

Steps to reproduce the behavior (Required)

  1. CREATE TABLE '...'
  2. INSERT INTO '....'
  3. SELECT '....'

Expected behavior (Required)

Real behavior (Required)

StarRocks version (Required)

  • You can get the StarRocks version by executing SQL select current_version()

There may be tables of different types (like iceberg or hive) under hive_db. When we are under hive catalog, we can display different types of tables through show tables or show databases. However, when querying a table that is not a catalog of the current type, we need to give a friendly prompt. For example, we don't allow to query iceberg table when current catalog is hive_catalog.

stephen-shelby avatar Aug 11 '22 08:08 stephen-shelby