<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Hive 解釋器 原文鏈接 : [http://zeppelin.apache.org/docs/0.7.2/interpreter/hive.html](http://zeppelin.apache.org/docs/0.7.2/interpreter/hive.html) 譯文鏈接 : [http://www.apache.wiki/pages/viewpage.action?pageId=10030808](http://www.apache.wiki/pages/viewpage.action?pageId=10030808) 貢獻者 : [片刻](/display/~jiangzhonglian) [ApacheCN](/display/~apachecn) [Apache中文網](/display/~apachechina) ## 重要的提醒 Hive Interpreter將被棄用并合并到JDBC Interpreter中。您可以使用具有相同功能的JDBC解釋器使用Hive Interpreter。請參閱下面的設置和依賴關系示例。 ### 屬性 | 屬性 | 值 | | --- | --- | | hive.driver | org.apache.hive.jdbc.HiveDriver | | hive.url | jdbc:hive2://localhost:10000 | | hive.user | hiveUser | | hive.password | hivePassword | ### 依賴 | Artifact | Exclude | | --- | --- | | org.apache.hive:hive-jdbc:0.14.0 | ? | | org.apache.hadoop:hadoop-common:2.6.0 | ? | ### 配置 | 屬性 | 默認 | 描述 | | --- | --- | --- | | default.driver | org.apache.hive.jdbc.HiveDriver | JDBC驅動程序的類路徑 | | default.url | jdbc:hive2://localhost:10000 | 網址連接 | | default.user | ? | **(可選)連接的**用戶名 | | default.password | ? | **(可選)連接**密碼 | | default.xxx | ? | **(可選)**驅動程序使用的其他屬性 | | ${prefix}.driver | ? | 驅動程序類路徑?`%hive(${prefix})` | | ${prefix}.url | ? | 的網址?`%hive(${prefix})` | | ${prefix}.user | ? | **(可選)連接的**用戶名`%hive(${prefix})` | | ${prefix}.password | ? | **(可選)連接**密碼`%hive(${prefix})` | | ${prefix}.xxx | ? | **(可選)**驅動程序使用的其他屬性`%hive(${prefix})` | 此解釋器提供多種配置`${prefix}`。用戶可以通過此前綴設置多個連接屬性。它可以像`%hive(${prefix})`。 ## 概述? 在[Apache Hive](https://hive.apache.org/)? 數據倉庫軟件便于查詢和管理駐留在分布式存儲大型數據集。Hive提供了一種機制來將結構投影到這些數據上,并使用類似SQL的語言HiveQL查詢數據。同時,這種語言還允許傳統的map/reduce程序員在HiveQL中表達這種邏輯不方便或低效時插入自定義映射器和縮減器。 ## 如何使用 基本上可以使用 ``` %hive select * from my_table;? ``` 要么 ``` %hive(etl) -- 'etl' is a ${prefix} select * from my_table;? ``` 默認情況下,您還可以運行多達10個查詢。更改這些設置尚未實現。 ### 應用Zeppelin動態表單 您可以在查詢內使用[Zeppelin 動態表單](http://www.apache.wiki/pages/viewpage.action?pageId=10030585)。您可以同時使用`text input`和`select form`參數化功能。 ``` %hive SELECT ${group_by}, count(*) as count FROM retail_demo.order_lineitems_pxf GROUP BY ${group_by=product_id,product_id|product_name|customer_id|store_id} ORDER BY count ${order=DESC,DESC|ASC} LIMIT ${limit=10};? ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看