Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-7385

several timezone conversion tests are failing within test-with-docker context

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.1.0
    • None
    • None
    • ghx-label-4

    Description

      The following tests tend to fail when using test-with-docker. What's common about them is that they're doing a time zone conversion.

       metadata.test_show_create_table.TestShowCreateTable.test_show_create_table[table_format: text/none]	1 min 23 sec	19
       query_test.test_queries.TestHdfsQueries.test_hdfs_scan_node[exec_option: {'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'debug_action': None, 'exec_single_node_rows_threshold': 0} | table_format: orc/def/block]	4.1 sec	58
       query_test.test_scanners.TestOrc.test_type_conversions[exec_option: {'batch_size': 0, 'num_nodes': 0, 'disable_codegen_rows_threshold': 0, 'disable_codegen': False, 'abort_on_error': 1, 'debug_action': None, 'exec_single_node_rows_threshold': 0} | table_format: orc/def/block]	16 sec	58
       ExprTest.TimestampFunctions
      

      It turns out that people parse readlink(/etc/localtime) to find out the current time zone. This got noticeable when the ORC change landed (though I've seen that one come and go) and then very frequently when we changed time zone DBs. (Or so I think.)

      I have a simple change forthcoming.

      Attachments

        Issue Links

          Activity

            People

              philip Philip Martin
              philip Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: