IBM Support

PI73491: XQE-DAT-0001 ERROR WHEN RUNNING REPORTS USING IMPALA DATASOURCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • Cloudera Impala does not support multiple distinct aggregates.
    DQM property files are configured to not push the construct.
    DQM is generating SQL which is pushing multiple distinct
    aggregates to Impala which will not parse.
    
    Error:
    XQE-DAT-0001 Data source adapter error: java.sql.SQLException:
    [Simba][ImpalaJDBCDriver](500051) ERROR processing
    query/statement. Error Code: 0, SQL state:
    TStatus(statusCode:ERROR_STATUS, sqlState:HY000,
    errorMessage:AnalysisException: all DISTINCT aggregate functions
    need to have the same set of parameters as count(DISTINCT
    order_details.quantity); deviating function: count(DISTINCT
    order_details.unit_cost)
    ), Query: WITH
    `New_Query_Subject` AS
    (
    SELECT
    `order_header`.`sales_branch_code`,
    COUNT(DISTINCT `order_details`.`quantity`) AS `c1`,
    COUNT(DISTINCT `order_details`.`unit_cost`) AS `c2`
    FROM
    `gosales1021`.`order_details` `order_details`,
    `gosales1021`.`order_header` `order_header`
    WHERE
    `order_header`.`order_number` = `order_details`.`order_number`
    GROUP BY
    `order_header`.`sales_branch_code`
    )
    SELECT
    `New_Query_Subject`.`sales_branch_code` AS `sales_branch_code`,
    `New_Query_Subject`.`c1` AS `c1`,
    `New_Query_Subject`.`c2` AS `c2`
    FROM
    `New_Query_Subject`.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See error description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IBM Cognos Analytic 11.0.6.0                      *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI73491

  • Reported component name

    COG ADMINISTRAT

  • Reported component ID

    5724W12AD

  • Reported release

    B04

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-12-08

  • Closed date

    2017-06-12

  • Last modified date

    2017-06-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • RB00 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.0.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
06 March 2023