Skip to content

Instantly share code, notes, and snippets.

@henryr
Created July 15, 2015 23:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henryr/17ec088349dcc7ea204e to your computer and use it in GitHub Desktop.
Save henryr/17ec088349dcc7ea204e to your computer and use it in GitHub Desktop.
Build failures #2
Error Message
test failure
Stacktrace
metadata/test_ddl.py:157: in test_truncate_table
> multiple_impalad=self._use_multiple_impalad(vector))
common/impala_test_suite.py:254: in run_test_case
> pytest.config.option.update_results)
common/test_result_verifier.py:346: in verify_raw_results
> VERIFIER_MAP[verifier](expected, actual)
common/test_result_verifier.py:198: in verify_query_result_is_equal
> assert expected_results == actual_results
E assert Comparing QueryTestResults (expected vs actual):
E Detailed information truncated, use "-vv" to show
Standard Error
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
MainThread: Starting new HTTP connection (1): 0.0.0.0
MainThread: Starting new HTTP connection (1): 0.0.0.0
MainThread: Starting new HTTP connection (1): 0.0.0.0
-- connecting to: localhost:21000
SET sync_ddl=1;
-- executing against localhost:21000
create database truncate_table_test_db location '/test-warehouse/truncate_table_test_db.db';
-- closing connection to: localhost:21000
-- executing against localhost:21000
use truncate_table_test_db;
SET batch_size=0;
SET num_nodes=0;
SET sync_ddl=0;
SET disable_codegen=False;
SET abort_on_error=False;
SET exec_single_node_rows_threshold=0;
-- executing against localhost:21000
create table t1 like functional.alltypes;
-- executing against localhost:21000
insert into t1 partition(year, month) select * from functional.alltypes;
-- executing against localhost:21000
compute incremental stats t1;
-- executing against localhost:21000
show table stats t1;
-- executing against localhost:21000
show column stats t1;
MainThread: Comparing QueryTestResults (expected vs actual):
'bigint_col','BIGINT',10,-1,8,8 == 'bigint_col','BIGINT',10,-1,8,8
'bool_col','BOOLEAN',2,-1,1,1 == 'bool_col','BOOLEAN',2,-1,1,1
'date_string_col','STRING',736,-1,8,8 == 'date_string_col','STRING',736,-1,8,8
'double_col','DOUBLE',10,-1,8,8 == 'double_col','DOUBLE',10,-1,8,8
'float_col','FLOAT',10,-1,4,4 == 'float_col','FLOAT',10,-1,4,4
'id','INT',8161,-1,4,4 != 'id','INT',7505,-1,4,4
'int_col','INT',10,-1,4,4 == 'int_col','INT',10,-1,4,4
'month','INT',12,0,4,4 == 'month','INT',12,0,4,4
'smallint_col','SMALLINT',10,-1,2,2 == 'smallint_col','SMALLINT',10,-1,2,2
'string_col','STRING',10,-1,1,1 == 'string_col','STRING',10,-1,1,1
'timestamp_col','TIMESTAMP',7554,-1,16,16 == 'timestamp_col','TIMESTAMP',7554,-1,16,16
'tinyint_col','TINYINT',10,-1,1,1 == 'tinyint_col','TINYINT',10,-1,1,1
'year','INT',2,0,4,4 == 'year','INT',2,0,4,4
Error Message
test failure
Stacktrace
metadata/test_hbase_metadata.py:45: in test_hbase_compute_stats
> self.run_test_case('QueryTest/hbase-compute-stats', vector)
common/impala_test_suite.py:254: in run_test_case
> pytest.config.option.update_results)
common/test_result_verifier.py:346: in verify_raw_results
> VERIFIER_MAP[verifier](expected, actual)
common/test_result_verifier.py:198: in verify_query_result_is_equal
> assert expected_results == actual_results
E assert Comparing QueryTestResults (expected vs actual):
E Detailed information truncated, use "-vv" to show
Standard Error
-- connecting to: localhost:21000
-- executing against localhost:21000
use default;
SET sync_ddl=1;
-- executing against localhost:21000
show databases;
-- executing against localhost:21000
create database compute_stats_db_hbase;
-- executing against localhost:21000
use functional_hbase;
SET disable_codegen=False;
SET abort_on_error=1;
SET exec_single_node_rows_threshold=0;
SET batch_size=0;
SET num_nodes=0;
-- executing against localhost:21000
create table compute_stats_db_hbase.alltypessmall_hbase
like alltypessmall;
MainThread: No results found. Skipping verification
-- executing against localhost:21000
compute stats compute_stats_db_hbase.alltypessmall_hbase;
-- executing against localhost:21000
show table stats compute_stats_db_hbase.alltypessmall_hbase;
-- executing against localhost:21000
show column stats compute_stats_db_hbase.alltypessmall_hbase;
-- executing against localhost:21000
create table compute_stats_db_hbase.alltypessmall_hbase_bin
like alltypessmallbinary;
MainThread: No results found. Skipping verification
-- executing against localhost:21000
compute stats compute_stats_db_hbase.alltypessmall_hbase_bin;
MainThread: Query Name:
VERIFY_IS_EQUAL
-- executing against localhost:21000
show table stats compute_stats_db_hbase.alltypessmall_hbase_bin;
-- executing against localhost:21000
show column stats compute_stats_db_hbase.alltypessmall_hbase_bin;
MainThread: Comparing QueryTestResults (expected vs actual):
'bigint_col','BIGINT',10,-1,8,8 == 'bigint_col','BIGINT',10,-1,8,8
'bool_col','BOOLEAN',2,-1,1,1 == 'bool_col','BOOLEAN',2,-1,1,1
'date_string_col','STRING',12,-1,8,8 == 'date_string_col','STRING',12,-1,8,8
'double_col','DOUBLE',10,-1,8,8 == 'double_col','DOUBLE',10,-1,8,8
'float_col','FLOAT',10,-1,4,4 == 'float_col','FLOAT',10,-1,4,4
'id','INT',100,-1,4,4 != 'id','INT',99,-1,4,4
'int_col','INT',10,-1,4,4 == 'int_col','INT',10,-1,4,4
'month','INT',4,-1,4,4 == 'month','INT',4,-1,4,4
'smallint_col','SMALLINT',10,-1,2,2 == 'smallint_col','SMALLINT',10,-1,2,2
'string_col','STRING',10,-1,1,1 == 'string_col','STRING',10,-1,1,1
'timestamp_col','TIMESTAMP',99,-1,16,16 != 'timestamp_col','TIMESTAMP',101,-1,16,16
'tinyint_col','TINYINT',10,-1,1,1 == 'tinyint_col','TINYINT',10,-1,1,1
'year','INT',1,-1,4,4 == 'year','INT',1,-1,4,4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment