ClickHouse® is a real-time analytics DBMS
Go to file
BohuTANG f48fdda678
Enhanced compatibility with native mysql-connector-java(JDBC) (#10021)
* Skip the `/* comments */ SELECT @@variables ...` from mysql-connector-java setup for MySQL Handler #9336

mysql-connector setup query:
/* mysql-connector-java-5.1.38 ( Revision: ${revinfo.commit} ) */SELECT  @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_connection, @@character_set_results AS character_set_results, @@character_set_server AS character_set_server, @@init_connect AS init_connect, @@interactive_timeout AS interactive_timeout...

ClickHouse side Error:
{} <Error> executeQuery: Code: 62, e.displayText() = DB::Exception: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST, NULL...

Client side Exception:
java.sql.SQLException: Syntax error: failed at position 74: @@session.auto_increment_increment AS auto_increment_increment, @@character_set_client AS character_set_client, @@character_set_connection AS character_set_conn. Expected one of: CAST...

* add repalce 'SHOW VARIABLES' for mysql-connector-java-5.1.34 #9336

* Add java client(JDBC) integration test to test_mysql_protocol

* shift out java tests from dbms

* Update MySQLHandler.cpp

* Update MySQLHandler.cpp

* test_mysql_protocol: add Test.java exit code 1 when expection

Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-04-09 00:52:19 +03:00
.github Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
base Add cross-compile build for FreeBSD (#9643) 2020-04-07 11:33:49 +03:00
benchmark Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
cmake Add cross-compile build for FreeBSD (#9643) 2020-04-07 11:33:49 +03:00
contrib fix races in 01108_restart_replicas_rename_deadlock 2020-04-03 03:08:51 +03:00
debian Removed leftovers 2020-03-21 19:43:31 +03:00
docker Fix compiler possible values 2020-04-08 19:29:08 +03:00
docs ISSUES-10056 update docs 2020-04-09 01:31:28 +08:00
programs Enhanced compatibility with native mysql-connector-java(JDBC) (#10021) 2020-04-09 00:52:19 +03:00
src Merge pull request #10077 from zhang2014/fix/ISSUES-10056 2020-04-08 22:59:09 +03:00
tests Enhanced compatibility with native mysql-connector-java(JDBC) (#10021) 2020-04-09 00:52:19 +03:00
utils Fix "check style" tool 2020-04-06 02:57:24 +03:00
website Docs fixes/improvements (#10090) 2020-04-07 18:35:55 +03:00
.clang-format Fixed wrong code around Memory Profiler 2020-03-03 03:24:44 +03:00
.clang-tidy Clang Tidy, part 7 (#9799) 2020-03-23 05:12:31 +03:00
.editorconfig Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.gitattributes Decreased warning threshold [#MOBMET-3248] 2016-06-07 11:23:15 +03:00
.gitignore Update some docs translations (#10044) 2020-04-04 12:15:31 +03:00
.gitlab-ci.yml dbms/ → src/ 2020-04-03 18:14:31 +03:00
.gitmodules Major website front page refactoring (#9300) 2020-03-13 22:35:03 +03:00
.potato.yml Update comments in .potato.yml 2019-10-20 12:50:33 +08:00
.vimrc Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
AUTHORS Update AUTHORS 2020-01-23 17:36:05 +03:00
CHANGELOG.md Move all folders inside /dbms one level up (#9974) 2020-04-02 02:51:21 +03:00
CMakeLists.txt Add cross-compile build for FreeBSD (#9643) 2020-04-07 11:33:49 +03:00
CODE_OF_CONDUCT.md Add minimal code of conduct #9676 2020-03-16 12:44:28 +03:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-01-27 21:03:30 +03:00
docker-compose.yml Updated docker-compose.yml #1025 2017-07-26 20:05:32 +03:00
format_sources allow several <graphite> targets (#603) 2017-03-21 23:08:09 +04:00
LICENSE Update LICENSE 2020-01-23 17:38:30 +03:00
PreLoad.cmake Disable ninja for CLion 2019-09-11 10:23:20 +03:00
README.md Update README.md 2020-04-06 17:10:37 +03:00
release Initial fuzzing support with libfuzzer 2019-09-22 13:34:09 +03:00
SECURITY.md Update SECURITY.md 2020-03-15 16:53:24 +03:00
uncrustify.cfg Better .clang-format and uncrustify.cfg 2018-11-29 15:45:34 +03:00
ya.make Add stubs for ya.make (#9644) 2020-03-13 16:07:23 +03:00

ClickHouse — open source distributed column-oriented DBMS

ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real time.

  • Official website has quick high-level overview of ClickHouse on main page.
  • Tutorial shows how to set up and query small ClickHouse cluster.
  • Documentation provides more in-depth information.
  • YouTube channel has a lot of content about ClickHouse in video format.
  • Slack and Telegram allow to chat with ClickHouse users in real-time.
  • Blog contains various ClickHouse-related articles, as well as announces and reports about events.
  • Contacts can help to get your questions answered if there are any.
  • You can also fill this form to meet Yandex ClickHouse team in person.

Upcoming Events