dnskr commented on code in PR #7666: URL: https://github.com/apache/kyuubi/pull/7666#discussion_r3890300007
########## docs/quick_start/quick_start_with_jdbc.md: ########## @@ -0,0 +1,98 @@ +<!-- +- Licensed to the Apache Software Foundation (ASF) under one or more +- contributor license agreements. See the NOTICE file distributed with +- this work for additional information regarding copyright ownership. +- The ASF licenses this file to You under the Apache License, Version 2.0 +- (the "License"); you may not use this file except in compliance with +- the License. You may obtain a copy of the License at +- +- http://www.apache.org/licenses/LICENSE-2.0 +- +- Unless required by applicable law or agreed to in writing, software +- distributed under the License is distributed on an "AS IS" BASIS, +- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +- See the License for the specific language governing permissions and +- limitations under the License. +--> + +# Getting Started with Hive JDBC + +## How to Get the Kyuubi JDBC Driver + +Kyuubi Thrift API is fully compatible with HiveServer2, so technically, it +allows to use any Hive JDBC driver to connect Kyuubi Server. But it's +recommended to use [Kyuubi Hive JDBC Driver](../client/jdbc/kyuubi_jdbc.rst), which is +forked from Hive 3.1.x JDBC driver, aims to support some missing functionalities +of the original Hive JDBC driver. + +The driver is available from Maven Central: + +```xml +<dependency> + <groupId>org.apache.kyuubi</groupId> + <artifactId>kyuubi-hive-jdbc-shaded</artifactId> + <version>${kyuubi.version}</version> Review Comment: A quick update regarding the issue. I've used `parsed-literal` code-block to render the following code and it works as intended: ```{parsed-literal} $ tar zxf apache-kyuubi-{{ release }}-bin.tgz ``` <img width="1145" height="371" alt="image" src="https://github.com/user-attachments/assets/003b428d-04fe-48d1-b879-26697979c355" /> However, in the current MyST implementation `parsed-literal` directive removes leading and trailing spaces (PR https://github.com/executablebooks/MyST-Parser/pull/1176 available), and doesn't work properly with XML content, so the discussed code does not rendered correctly: ```{parsed-literal} <dependency> <groupId>org.apache.kyuubi</groupId> <artifactId>kyuubi-hive-jdbc-shaded</artifactId> <version>{{ release }}</version> </dependency> ``` <img width="1137" height="501" alt="image" src="https://github.com/user-attachments/assets/efa5df54-c44e-4878-8026-34925c70bd80" /> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
