kyuubi/docs
Cheng Pan 06a915aff4 [KYUUBI #4950] Migrate Kyuubi embedded database from Derby to SQLite
### _Why are the changes needed?_

Apache Derby is no longer active. One major drawback of Derby is that it does not support multiple connections to single db files, making it hard to analyze the data on local development.

SQLite may be the most popular embedded DBMS in the world. It lives almost in every smartphone (at least Android and iOS integrate SQLite), which means SQLite is quite stable and may be a good choice for standalone production deployment.

SQLite provides a CLI command `sqlite3` which is easy to use to connect a data file and run queries. Multi connections to a single db file is allowed, which helps a lot to analyze the data when the Kyuubi server is running.

### _How was this patch tested?_
- [x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

- [ ] Add screenshots for manual tests if appropriate

- [x] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request

Closes #4950 from pan3793/sqlite.

Closes #4950

738c39e6a [Cheng Pan] Update docs/deployment/migration-guide.md
5facdad9c [Cheng Pan] Update docs/deployment/migration-guide.md
b9883489c [Cheng Pan] migrate default metadata store to sqlite
c785e1a77 [Cheng Pan] migrate jdbc auth test to sqlite
23f63b932 [Cheng Pan] introduce sqlite deps

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2023-06-12 21:01:51 +08:00
..
_static/css [KYUUBI #2764] [DOCS] Fix tables in docs being coverd by right toc sidebar 2022-05-27 17:21:42 +08:00
appendix [KYUUBI #4655] [DOCS] Enrich docs for Kyuubi Hive JDBC driver 2023-04-03 18:51:27 +08:00
client [KYUUBI #4763] [DOCS] Fix the Kyuubi JDBC kerberos parameters 2023-04-25 02:16:28 +08:00
community [KYUUBI #4593] [DOCS] Keep promote the release step update-to-date 2023-03-24 14:53:53 +08:00
connector [KYUUBI #4614] [DOCS] Rename Flink Table Store to Apache Paimon (Incubating) in docs Connectors for Flink SQL Query Engine 2023-03-27 13:04:42 +08:00
contributing [KYUUBI #4768] [INFRA] Guidelines for Document and Code contributions 2023-04-27 19:58:10 +08:00
deployment [KYUUBI #4950] Migrate Kyuubi embedded database from Derby to SQLite 2023-06-12 21:01:51 +08:00
extensions [KYUUBI #4933] [DOCS] [MINOR] Mark spark.sql.optimizer.insertRepartitionNum config for Spark 3.1 only 2023-06-09 08:30:23 +08:00
imgs [KYUUBI #4371] Fix typo in kyuubi_ecosystem.drawio 2023-02-20 13:00:45 +08:00
monitor [KYUUBI #4364] Add metrics for user opened connections with session type 2023-02-18 14:52:00 +08:00
overview [KYUUBI #4624] [Docs] Fix table headers in kyuubi_vs_hive.md 2023-03-28 16:40:35 +08:00
quick_start [KYUUBI #4763] [DOCS] Fix the Kyuubi JDBC kerberos parameters 2023-04-25 02:16:28 +08:00
security [KYUUBI #4677] [AUTHZ] Check generated policy file in test suite 2023-04-13 16:08:32 +08:00
tools [KYUUBI #4889] Admin command line supports list server command 2023-05-28 09:32:23 +08:00
conf.py [KYUUBI #4768] [INFRA] Guidelines for Document and Code contributions 2023-04-27 19:58:10 +08:00
index.rst [KYUUBI #4768] [INFRA] Guidelines for Document and Code contributions 2023-04-27 19:58:10 +08:00
make.bat [KYUUBI #4235] [DOCS] Prefer https:// URLs in docs 2023-02-03 14:01:11 +08:00
Makefile [KYUUBI #874] [ASF] ASF Publish 2021-08-16 11:48:21 +08:00
requirements.txt [KYUUBI #4768] [INFRA] Guidelines for Document and Code contributions 2023-04-27 19:58:10 +08:00