Hadoop Hive に対してカスタム SQL クエリを実行しようとすると、接続は確立されているようですが、Tableau Desktop/Prep にデータが読み込まれません。代わりに、次のエラーが表示されることがあります。
Tableau Prep: "system error" (システム エラー) または "[Hortonworks][Hardy] (71) Failed to establish connection with unknown error." (不明なエラーのため接続を確立できませんでした。)
Tableau Desktop: "[Hortonworks][Hardy] (71) Failed to establish connection with unknown error." (不明なエラーのため接続を確立できませんでした。)
以下を確認することで、これがカスタム SQL の問題であるかどうかを判断し、トラブルシューティングを行うことができます。
上記の情報のいずれかで問題が解決した場合は、次のオプションを使用できます。
オプション 1: マテリアライズド ビューを使用する
マテリアライズド ビューは、データベースに対して実行される "JOIN、WHERE" を使用した "選択クエリ" であり、最終結果セットはテーブルとしてデータベースに格納されます。マテリアライズド ビューは、データベース更新との同期において保持できます。複数の結合を実行する代わりに、Tableau はマテリアライズド ビューに直接接続することで、データベースが最初のクエリの処理の大部分を実行できるようにします。https://help.salesforce.com/s/articleView?id=custom-sql-performance-issues&type=1&language=en_US を参照してください。
オプション 2: カスタム SQL を最適化する
001474358

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.