Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-20959

cbo_rp_limit / cbo_limit are flaky - intermittent whitespace difference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      Client Execution succeeded but contained differences (error code = 1) after executing cbo_rp_limit.q 
      11c11
      < 1 4 2 
      --- 
      > 1 4 2
      

      After copying here to jira, cannot found difference, but by checking from original junit xml, there is a whitespace difference in the lines (represented as hex values), between 1 (x31) and 4 (x34). See diff . Original golden file contains horizontal tab (x09), actual output contains space (x20).

      The serious thing is that the separator changes to x20, which is wrong, but then in the same line, it changes back to x09.

      20 31 *20* 34 09 32 <- actual
      20 31 *09* 34 09 32 <- expected
      

      Tried to reproduce it by running the failing batch of qtests locally, but no luck (maybe it's an environment issue)

      mvn test -T 1C -Dtest.output.overwrite=true -Pitests,hadoop-2 -pl itests/qtest -pl itests/util -Dtest=TestMiniLlapLocalCliDriver -Dqfile=dynamic_semijoin_reduction.q,materialized_view_create_rewrite_3.q,vectorization_pushdown.q,correlationoptimizer2.q,cbo_gby_empty.q,schema_evol_text_nonvec_part_all_complex_llap_io.q,vectorization_short_regress.q,mapjoin3.q,cross_product_check_1.q,results_cache_quoted_identifiers.q,unionDistinct_3.q,cbo_join.q,correlationoptimizer6.q,union_remove_26.q,cbo_rp_limit.q,convert_decimal64_to_decimal.q,vector_groupby_cube1.q,union2.q,groupby2.q,dynpart_sort_opt_vectorization.q,constraints_optimization.q,exchgpartition2lel.q,retry_failure.q,schema_evol_text_vecrow_part_llap_io.q,sample10.q,vectorized_timestamp_ints_casts.q,auto_sortmerge_join_2.q,bucketizedhiveinputformat.q,cte_mat_2.q,vectorization_8.q
      

      Attachments

        Issue Links

          Activity

            People

              abstractdog László Bodor
              abstractdog László Bodor
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: