apache / druid

Apache Druid: a high performance real-time analytics database.
https://druid.apache.org/
Apache License 2.0
13.41k stars 3.68k forks source link

druid 0.14.1-incubating create table failed when starting the Coordinator #7663

Closed HeIsRicky closed 1 year ago

HeIsRicky commented 5 years ago

druid 0.14.1-incubating mysql 5.6

dene14 commented 4 years ago

@HeIsRicky your problem is in selected charset. urf8mb4 is advised option nowadays for mysql but it breaks columns sizing in some apps. You can use utf8_general_ci instead.

AngryUbuntuNerd commented 4 years ago

This solution doesnt work anymore since 0.17 as Druid seems to need keys that are too long even in utf8.

That breaks it for MySQL 5.6 or lower. Higher versions of MySQL are not affected as the default key size is bigger.

A fix for 5.6 could be to use innodb_large_prefix but this requires Druid to create tables with a different InnoDB row format (COMPACT is default). See https://dev.mysql.com/doc/refman/5.6/en/innodb-limits.html

github-actions[bot] commented 1 year ago

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.