Pārlūkot izejas kodu

[docs] localized May 2021 blogs into Japanese

Tatsuo Kawasaki 4 gadi atpakaļ
vecāks
revīzija
3b7b720daf

+ 93 - 0
docs/gethue/content/jp/posts/2021-05-18-installing-hue-slack-app-in-three-simple-steps.md

@@ -0,0 +1,93 @@
+---
+title: Hue Slackアプリを3つの簡単なステップでインストール
+author: Hue Team
+type: post
+date: 2021-05-18T00:00:00+00:00
+url: /blog/2021-05-18-installing-hue-slack-app-in-three-simple-steps
+sf_thumbnail_type:
+  - none
+sf_thumbnail_link_type:
+  - link_to_post
+sf_detail_type:
+  - none
+sf_page_title:
+  - 1
+sf_page_title_style:
+  - standard
+sf_no_breadcrumbs:
+  - 1
+sf_page_title_bg:
+  - none
+sf_page_title_text_style:
+  - light
+sf_background_image_size:
+  - cover
+sf_social_sharing:
+  - 1
+sf_related_articles:
+  - 1
+sf_sidebar_config:
+  - left-sidebar
+sf_left_sidebar:
+  - Sidebar-2
+sf_right_sidebar:
+  - Sidebar-1
+sf_caption_position:
+  - caption-right
+sf_remove_promo_bar:
+  - 1
+ampforwp-amp-on-off:
+  - default
+categories:
+  - Version 4.10
+---
+
+チーム内の他のSQLユーザーとの共同作業を支援するSQLアシスタントが欲しいと思ったことはありませんか? それも Slack に?
+
+このHueとSlackの統合は、SlackチャンネルでのSQLクエリをアシストしてくれます。 [使い方も簡単](https://docs.gethue.com/user/concept/#slack)で、Slackのワークスペースの管理者であれば、たった3ステップで簡単にインストールできます。
+
+Slackは最近、Slackアプリ向けに[アプリマニフェスト](https://api.slack.com/reference/manifests)のベータ版をリリースしました。 マニフェストを使用すると、あらかじめ定義された構成でアプリケーションを作成することができます。
+
+アプリマニフェストの最新バージョンは [Hueリポジトリ](https://github.com/cloudera/hue/blob/master/tools/slack/manifest.yml) にチェックインされています。
+
+共有マニフェストでは、 _demo.gethue.com_ の2つを**Hueインスタンスのホスト名**で更新します:
+- **unfurl_domains**の下
+- **event_subscriptions**の下、**request_url** `https://<hue-instance-hostname>/desktop/slack/events/`で
+
+さて、いよいよ自分のアプリを作成してみましょう。
+- https://api.slack.com/apps に移動し、 **Create New App** をクリックします。
+- **From an app manifest** オプションとアプリをインストールするワークスペースを選択して**Next**をクリックします。
+- **YAML** を選択し、マニフェストコードを貼り付けて (上記の必要な変更を行っていることを確認してください) 、 **Next** をクリックします。
+- レビューの概要を読み、問題がなければ、 **Create** をクリックします。
+- アプリが作成されたら、ワークスペースにインストールしましょう!
+
+![Slack のインストールフロー](https://cdn.gethue.com/uploads/2021/05/slack-install.gif)
+
+Hueでプラグインを行う最後のステップを完了し、hue.ini設定ファイルを更新しましょう:
+- **OAuth & Permissions page**に移動し、 **Bot User OAuth Token** をコピーして、 **slack_bot_user_token** を更新します。(例: xoxb-xxxxxxxxxxxxxxxxxxxxxxxxx)
+- 同様に、 **Basic Information** ページに移動して **Verification Token** をコピーし、**slack_verification_token** を更新します。
+
+そして、これを hue.ini ファイルの `[desktop]` セクションに貼り付けます
+
+    [[slack]]
+    is_enabled=true
+    slack_verification_token=<your-slack-verification-token>
+    slack_bot_user_token=<your-slack-bot-user-token>
+
+手続きは以上です! あなただけのHueアプリの準備ができました!
+### 試してみましょう!
+
+[Slack ワークスペース](https://hue-sql-assistant.slack.com/) にログインし、以下の Slack アカウントの資格情報を使用してデモSQL Assistant にアクセスしてください。
+
+      email: demo@gethue.com
+      password: gethue
+
+[デモのライブエディタ](https://demo.gethue.com/)でいくつかのクエリを実行し、そのリンクを共有します。 [ユーザーガイド](https://docs.gethue.com/user/concept/#share-to-slack) または [ブログ](https://jp.gethue.com/blog/2021-04-09-collaborate-on-your-sql-queries-and-results-directly-within-slack/) を読んで、今後のアップデートにご期待ください。
+
+</br> </br>
+
+どのような[フィードバック](https://github.com/cloudera/hue/issues) や質問も大歓迎です! ここや<a href="https://discourse.gethue.com/">フォーラム</a> で気軽にコメントし、<a href="https://docs.gethue.com/quickstart/">SQLクエリ</a> のクイックスタートをしてください!
+
+宜しくお願い致します!
+
+Harsh from the Hue Team

+ 90 - 0
docs/gethue/content/jp/posts/2021-05-26-improved-hue-importer-select-a-file-choose-a-dialect-create-a-table.md

@@ -0,0 +1,90 @@
+---
+title: 改善されたHueのImporter -- ファイルの選択、方言の選択、テーブルの作成
+author: Hue Team
+type: post
+date: 2021-05-26T00:00:00+00:00
+url: /blog/2021-05-26-improved-hue-importer-select-a-file-choose-a-dialect-create-a-table
+sf_thumbnail_type:
+  - none
+sf_thumbnail_link_type:
+  - link_to_post
+sf_detail_type:
+  - none
+sf_page_title:
+  - 1
+sf_page_title_style:
+  - standard
+sf_no_breadcrumbs:
+  - 1
+sf_page_title_bg:
+  - none
+sf_page_title_text_style:
+  - light
+sf_background_image_size:
+  - cover
+sf_social_sharing:
+  - 1
+sf_related_articles:
+  - 1
+sf_sidebar_config:
+  - left-sidebar
+sf_left_sidebar:
+  - Sidebar-2
+sf_right_sidebar:
+  - Sidebar-1
+sf_caption_position:
+  - caption-right
+sf_remove_promo_bar:
+  - 1
+ampforwp-amp-on-off:
+  - default
+categories:
+  - Version 4.10
+  - Development
+  - Query
+---
+
+Hueを設定して、パブリッククラウドで、ユーザーがCSVファイルから新しいSQLテーブルを作成できるようにするのに苦労したことがある方は、これがはるかに簡単になったことを知って喜んでいただけると思います。
+
+Hueのプロユーザーであれば、Hue の[Importer](https://docs.gethue.com/developer/api/rest/#data-importer)をご存知でしょう。 ファイルからテーブルを作成することができます。 これまでは、ファイルは[HDFS](https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html)や、[S3](https://gethue.com/introducing-s3-support-in-hue/)や [ABFS](https://docs.gethue.com/administrator/configuration/connectors/#azure-file-systems)などのクラウドオブジェクトストレージ上にある必要がありました。 今では、コンピュータからファイルをブラウズして選択し、HueのさまざまなSQLの[方言](https://docs.gethue.com/administrator/configuration/connectors/) でテーブルを作成できます。 Apache Hive, Apache Impala, Apache Phoenix, MySqlの方言に対応しています。
+
+### ゴール
+
+* ソースに関係なく、Hue Importerを使用してファイルをアップロードする。
+
+### 目的
+* 誰もがHDFSやS3/ABFSにアクセスできるわけではありません。 ビジネスアナリストは、自分のコンピュータにあるデータセットを素早く分析し、データのクリーンアップやその他のデータエンジニアリングタスクを省略する必要があることがよくあります。
+* この機能を使用すると、コンピュータからファイルをインポートして、数回のクリックでテーブルを作成することができます.
+
+### テーブルを作成する手順
+
+![Importer direct upload steps gif](https://cdn.gethue.com/uploads/2021/05/Importer_direct_upload_steps.gif)
+
+### ワークフロー
+![Importer direct upload steps app diagram](https://cdn.gethue.com/uploads/2021/05/Importer_direct_upload_workflow-2.png)
+
+### ファイルと API
+
+  * この機能を実装するために、3つのAPIを使用しています。
+    * [Guess_format](https://github.com/cloudera/hue/blob/master/desktop/libs/indexer/src/indexer/api3.py#L121) (ファイル形式を推測する)
+    * [Guess_field_types](https://github.com/cloudera/hue/blob/master/desktop/libs/indexer/src/indexer/api3.py#L228) (カラムの型を推測する)
+    * [Importer_submit](https://github.com/cloudera/hue/blob/master/desktop/libs/indexer/src/indexer/api3.py#L444) (テーブルを作成する)
+  * さまざまな SQL 方言がどのように実装されているのかに興味がある場合は、 [sql.py](https://github.com/cloudera/hue/blob/master/desktop/libs/indexer/src/indexer/indexers/sql.py) ファイルをご覧ください。
+
+  **注:** 現在、Hueは数千行の小さなCSVファイルをサポートしています。
+
+
+### 中間ステップ
+  * ステップ 1 ![Importer direct upload step1](https://cdn.gethue.com/uploads/2021/05/Importer_direct_upload_step1.png)  
+    ファイルを選択すると、Hueはファイル形式を推測し、区切り文字を識別して、テーブルのプレビューを生成します。
+  * ステップ 2 ![Importer direct upload step2](https://cdn.gethue.com/uploads/2021/05/Importer_direct_upload_step2-2.png)  
+    SQL の方言を選択すると、Hueは列のデータ型を自動検出します。 列名とそのデータ型は編集できます。
+
+
+この機能は、最新の Hue または [demo.gethue.com](https://demo.gethue.com/hue/indexer/importer).  
+で試すことができます。 </br> </br> このプロジェクトでは、より多くのSQL方言をサポートするための[貢献](https://github.com/cloudera/hue/#development)を喜んで歓迎いたします。  
+ご意見やご質問はありますか? ここや[ディスカッション](https://discourse.gethue.com/) まで気軽にコメントして、[SQLクエリ](https://docs.gethue.com/quickstart/) のクイックスタートをしてください!
+
+どうぞよろしくお願いします!
+
+Ayush from the Hue Team