Hadoop Hive를 대상으로 사용자 지정 SQL 쿼리를 실행하려고 하면 연결이 수행되는 것처럼 보이지만 데이터가 Tableau Desktop/Prep에 로드되지 않습니다. 그 대신 다음 오류가 표시될 수 있습니다.
Tableau Prep에서: "system error(시스템 오류)" 또는 "[Hortonworks][Hardy] (71) Failed to establish connection with unknown error.([Hortonworks][Hardy] (71) 연결을 설정하지 못하고 알 수 없는 오류가 발생했습니다.)"
Tableau Desktop에서: "[Hortonworks][Hardy] (71) Failed to establish connection with unknown error.([Hortonworks][Hardy] (71) 연결을 설정하지 못하고 알 수 없는 오류가 발생했습니다.)"
다음을 확인하여 문제를 진단하고 사용자 지정 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.