Jonathan Wills
02/18/2026, 5:11 PMRocky
02/18/2026, 5:12 PMrelkind='e' to discover foreign tables, a feature introduced in PostgreSQL 9.1 that Redshift does not support.
To solve this, StarRocks introduced a dedicated Redshift dialect for the JDBC Catalog in more recent versions (starting from around v3.2.5+ and v3.1.10+).
Recommended Solution: Upgrade and Use the Redshift Dialect
The "not support yet" error you saw with the native Redshift driver indicates that your current StarRocks version doesn't yet have the mapping for the Redshift dialect.
1. Upgrade StarRocks: Ensure you are running StarRocks v3.2.5 or later (or v3.3.x). These versions include the fix that avoids relkind='e' when it detects a Redshift connection.
2. Use the Redshift Driver and URI: Once upgraded, configure your catalog using the native Redshift driver and the jdbc:redshift prefix. This tells StarRocks to use the specialized Redshift dialect instead of the generic PostgreSQL one.
Example Configuration:
sql
CREATE EXTERNAL CATALOG redshift_catalog
PROPERTIES
(
"type" = "jdbc",
"user" = "<your_user>",
"password" = "<your_password>",
"jdbc_uri" = "jdbc:redshift://<redshift_endpoint>:<port>/<database>",
"driver_url" = "<https://s3.amazonaws.com/redshift-downloads/drivers/jdbc/2.1.0.25/redshift-jdbc42-2.1.0.25.jar>",
"driver_class" = "com.amazon.redshift.jdbc42.Driver"
);
Why this works:
* When the jdbc_uri starts with jdbc:redshift or the driver_class is a Redshift driver, StarRocks (in newer versions) selects the RedshiftDialect.
* The RedshiftDialect uses metadata queries that are compatible with PostgreSQL 8.0.2, avoiding the relkind='e' filter that causes your current errors.
If you cannot upgrade immediately:
Unfortunately, the metadata queries are hardcoded within the StarRocks FE dialects. If you are stuck on an older version:
* Manual JDBC External Tables (Deprecated): You could try the older External Table syntax (instead of a Catalog), though it often shares the same dialect logic.
* Workaround: Some users have had success by creating a VIEW in Redshift that mimics the table schema, but SHOW TABLES and schema discovery during SELECT will likely still trigger the same error.
The most robust path forward is definitely upgrading to a version that officially supports the Redshift dialect! Let me know if you have any other questions.
References
• data_source/catalog/jdbc_catalog.md
• data_source/External_table.md
• unloading/arrow_flight.mdJonathan Wills
02/18/2026, 5:14 PMRocky
02/18/2026, 5:14 PMsql
SELECT current_version();
If you are indeed on a custom or upcoming build, or if you meant 3.0.4, let me know if there’s a specific feature or issue you’re looking into! I'm here to help.
References
• faq/shared_data_faq.md
• release_notes/release-2.0.mdAaron
02/18/2026, 5:37 PMRocky
02/18/2026, 5:38 PMTony Wasson
02/18/2026, 8:29 PMAaron
02/18/2026, 8:43 PMTony Wasson
02/18/2026, 9:04 PMTony Wasson
02/18/2026, 9:06 PMAaron
02/18/2026, 9:41 PMPostgreSQL 8.0.2 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3), Redshift 1.0.117891
The above Query ran well on the AWS query editor.
In regards to starrocks: SELECT version() (more reveals the starrock version than redshift?);
{'version()': '8.0.33'}
The above query failed with:
FE RPC failure, reason=Internal error processing getTablesInfoTony Wasson
02/18/2026, 9:43 PMAaron
02/18/2026, 9:44 PMAaron
02/18/2026, 9:54 PMTony Wasson
02/18/2026, 10:02 PMAaron
02/18/2026, 10:13 PM