Check firebird.log [no messages found for interval when this test was running]
Jump to: output_first_mismatch    outcomes_full_history    elapsed_time_chart
Show cross-report outcomes.

Annotation type Annotation details
2 @message
assert   
  + Initial script failed, check output:
  + Statement failed, SQLSTATE = 22021
  + unsuccessful metadata update
  + -ALTER CHARACTER SET "SYSTEM"."UTF8" failed
  + -COLLATION "SYSTEM"."CI_COLL" for CHARACTER SET "SYSTEM"."UTF8" is not defined
  + After line 16 in file /var/tmp/qa_2024/test_11672/gh_8061.tmp.sql
  - 1000
  - select c1.cust_no
  - from customer c1
  - where exists (
  - select 1 from sales s1 where s1.cust_no = c1.cust_no and s1.qty_ordered > 10
  - )
  - Check unnesting of single EXISTS
  - Select Expression
  - ....-> Filter
  - ........-> Hash Join (semi)
  - ............-> Table "CUSTOMER" as "C1" Full Scan
  - ............-> Record Buffer (record length: NN)
  - ................-> Filter
  - ....................-> Table "SALES" as "S1" Full Scan
  - 2000
  - select c2.cust_no
  - from customer c2
  - where c2.cust_no = any (
  - select s2.cust_no
  - from sales s2
  - where s2.qty_ordered > 10
  - )
  - Check unnesting of ANY
  - Select Expression
  - ....-> Filter
  - ........-> Hash Join (semi)
  - ............-> Table "CUSTOMER" as "C2" Full Scan
  - ............-> Record Buffer (record length: NN)
  - ................-> Filter
  - ....................-> Table "SALES" as "S2" Full Scan
  - 3000
  - select c3.cust_no
  - from customer c3
  - where exists (
  - select  s3.cust_no
  - from sales s3
  - where s3.cust_no = c3.cust_no and
  - exists (
  - select x.emp_no
  - from employee x
  - where
  - x.emp_no = s3.sales_rep
  - and (
  - x.dept_no > 0
  - or
  - x.job_code > ''
  - )
  - )
  - )
  - Check unnesting of two nested EXISTS
  - Select Expression
  - ....-> Filter
  - ........-> Hash Join (semi)
  - ............-> Table "CUSTOMER" as "C3" Full Scan
  - ............-> Record Buffer (record length: NN)
  - ................-> Filter
  - ....................-> Hash Join (semi)
  - ........................-> Table "SALES" as "S3" Full Scan
  - ........................-> Record Buffer (record length: NN)
  - ............................-> Filter
  - ................................-> Table "EMPLOYEE" as "X" Full Scan
  - 4000
  - select c4.cust_no
  - from customer c4
  - where c4.cust_no in
  - (
  - select s4.cust_no
  - from sales s4
  - where
  - s4.paid > ''
  - or
  - s4.sales_rep in (
  - select x.emp_no
  - from employee x
  - where
  - x.dept_no > 0
  - or
  - x.job_code > ''
  - )
  - )
  - Check unnesting of IN (NOTE: inner sub-query cannot be unnested due to OR condition present, but the outer sub-query *can*; see also bugs/gh_8265_test.py)
  - Sub-query
  - ....-> Filter
  - ........-> Filter
  - ............-> Table "EMPLOYEE" as "X" Access By ID
  - ................-> Bitmap
  - ....................-> Index "EMPLOYEE_PK" Unique Scan
  - Select Expression
  - ....-> Filter
  - ........-> Hash Join (semi)
  - ............-> Table "CUSTOMER" as "C4" Full Scan
  - ............-> Record Buffer (record length: NN)
  - ................-> Filter
  - ....................-> Table "SALES" as "S4" Full Scan

LOG DETAILS:

2025-06-29 05:35:02.883
2025-06-29 05:35:02.890 act = <firebird.qa.plugin.Action object at [hex]>
2025-06-29 05:35:02.899 tmp_sql = PosixPath('/var/tmp/qa_2024/test_11672/gh_8061.tmp.sql')
2025-06-29 05:35:02.906 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-06-29 05:35:02.913
2025-06-29 05:35:02.923 @pytest.mark.version('>=5.0.1')
2025-06-29 05:35:02.939 def test_1(act: Action, tmp_sql: Path, capsys):
2025-06-29 05:35:02.951 employee_data_sql = zipfile.Path(act.files_dir / 'standard_sample_databases.zip', at='sample-DB_-_firebird.sql')
2025-06-29 05:35:02.962 tmp_sql.write_bytes(employee_data_sql.read_bytes())
2025-06-29 05:35:02.971
2025-06-29 05:35:02.978 act.isql(switches = ['-q'], charset='utf8', input_file = tmp_sql, combine_output = True)
2025-06-29 05:35:02.985
2025-06-29 05:35:02.992 if act.return_code == 0:
2025-06-29 05:35:02.998
2025-06-29 05:35:03.008 srv_cfg = driver_config.register_server(name = f'srv_cfg_8061', config = '')
2025-06-29 05:35:03.020 db_cfg_name = f'db_cfg_8061'
2025-06-29 05:35:03.031 db_cfg_object = driver_config.register_database(name = db_cfg_name)
2025-06-29 05:35:03.039 db_cfg_object.server.value = srv_cfg.name
2025-06-29 05:35:03.046 db_cfg_object.database.value = str(act.db.db_path)
2025-06-29 05:35:03.054 if act.is_version('<6'):
2025-06-29 05:35:03.063 db_cfg_object.config.value = f"""
2025-06-29 05:35:03.074 SubQueryConversion = true
2025-06-29 05:35:03.086 """
2025-06-29 05:35:03.098
2025-06-29 05:35:03.107 with connect(db_cfg_name, user = act.db.user, password = act.db.password) as con:
2025-06-29 05:35:03.114 cur = con.cursor()
2025-06-29 05:35:03.122 for q_idx, q_tuple in query_map.items():
2025-06-29 05:35:03.131 test_sql, qry_comment = q_tuple[:2]
2025-06-29 05:35:03.143 ps = cur.prepare(test_sql)
2025-06-29 05:35:03.154 print(q_idx)
2025-06-29 05:35:03.164 print(test_sql)
2025-06-29 05:35:03.177 print(qry_comment)
2025-06-29 05:35:03.186 print( '\n'.join([replace_leading(s) for s in ps.detailed_plan.split('\n')]) )
2025-06-29 05:35:03.195 ps.free()
2025-06-29 05:35:03.206
2025-06-29 05:35:03.215 else:
2025-06-29 05:35:03.223 # If retcode !=0 then we can print the whole output of failed gbak:
2025-06-29 05:35:03.230 print('Initial script failed, check output:')
2025-06-29 05:35:03.237 for line in act.clean_stdout.splitlines():
2025-06-29 05:35:03.243 print(line)
2025-06-29 05:35:03.250 act.reset()
2025-06-29 05:35:03.259
2025-06-29 05:35:03.268 act.expected_stdout = f"""
2025-06-29 05:35:03.275 1000
2025-06-29 05:35:03.289 {query_map[1000][0]}
2025-06-29 05:35:03.300 {query_map[1000][1]}
2025-06-29 05:35:03.309 Select Expression
2025-06-29 05:35:03.315 ....-> Filter
2025-06-29 05:35:03.321 ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-29 05:35:03.327 ............-> Table "CUSTOMER" as "C1" Full Scan
2025-06-29 05:35:03.333 ............-> Record Buffer (record length: 33)
2025-06-29 05:35:03.339 ................-> Filter
2025-06-29 05:35:03.347 ....................-> Table "SALES" as "S1" Full Scan
2025-06-29 05:35:03.355
2025-06-29 05:35:03.363 2000
2025-06-29 05:35:03.371 {query_map[2000][0]}
2025-06-29 05:35:03.383 {query_map[2000][1]}
2025-06-29 05:35:03.391 Select Expression
2025-06-29 05:35:03.398 ....-> Filter
2025-06-29 05:35:03.409 ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-29 05:35:03.419 ............-> Table "CUSTOMER" as "C2" Full Scan
2025-06-29 05:35:03.426 ............-> Record Buffer (record length: 33)
2025-06-29 05:35:03.433 ................-> Filter
2025-06-29 05:35:03.445 ....................-> Table "SALES" as "S2" Full Scan
2025-06-29 05:35:03.454
2025-06-29 05:35:03.463 3000
2025-06-29 05:35:03.472 {query_map[3000][0]}
2025-06-29 05:35:03.480 {query_map[3000][1]}
2025-06-29 05:35:03.487 Select Expression
2025-06-29 05:35:03.495 ....-> Filter
2025-06-29 05:35:03.506 ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-29 05:35:03.515 ............-> Table "CUSTOMER" as "C3" Full Scan
2025-06-29 05:35:03.524 ............-> Record Buffer (record length: 58)
2025-06-29 05:35:03.536 ................-> Filter
2025-06-29 05:35:03.547 ....................-> Hash Join (semi) (keys: 1, total key length: 2)
2025-06-29 05:35:03.558 ........................-> Table "SALES" as "S3" Full Scan
2025-06-29 05:35:03.566 ........................-> Record Buffer (record length: 41)
2025-06-29 05:35:03.573 ............................-> Filter
2025-06-29 05:35:03.580 ................................-> Table "EMPLOYEE" as "X" Full Scan
2025-06-29 05:35:03.587
2025-06-29 05:35:03.594 4000
2025-06-29 05:35:03.602 {query_map[4000][0]}
2025-06-29 05:35:03.610 {query_map[4000][1]}
2025-06-29 05:35:03.617 Sub-query
2025-06-29 05:35:03.630 ....-> Filter
2025-06-29 05:35:03.644 ........-> Filter
2025-06-29 05:35:03.655 ............-> Table "EMPLOYEE" as "X" Access By ID
2025-06-29 05:35:03.663 ................-> Bitmap
2025-06-29 05:35:03.670 ....................-> Index "EMPLOYEE_PK" Unique Scan
2025-06-29 05:35:03.679 Select Expression
2025-06-29 05:35:03.691 ....-> Filter
2025-06-29 05:35:03.701 ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-29 05:35:03.714 ............-> Table "CUSTOMER" as "C4" Full Scan
2025-06-29 05:35:03.723 ............-> Record Buffer (record length: 33)
2025-06-29 05:35:03.730 ................-> Filter
2025-06-29 05:35:03.737 ....................-> Table "SALES" as "S4" Full Scan
2025-06-29 05:35:03.744
2025-06-29 05:35:03.751 """
2025-06-29 05:35:03.759 act.stdout = capsys.readouterr().out
2025-06-29 05:35:03.770 >       assert act.clean_stdout == act.clean_expected_stdout
2025-06-29 05:35:03.781 E       assert
2025-06-29 05:35:03.789 E         + Initial script failed, check output:
2025-06-29 05:35:03.796 E         + Statement failed, SQLSTATE = 22021
2025-06-29 05:35:03.802 E         + unsuccessful metadata update
2025-06-29 05:35:03.807 E         + -ALTER CHARACTER SET "SYSTEM"."UTF8" failed
2025-06-29 05:35:03.813 E         + -COLLATION "SYSTEM"."CI_COLL" for CHARACTER SET "SYSTEM"."UTF8" is not defined
2025-06-29 05:35:03.820 E         + After line 16 in file /var/tmp/qa_2024/test_11672/gh_8061.tmp.sql
2025-06-29 05:35:03.826 E         - 1000
2025-06-29 05:35:03.833 E         - select c1.cust_no
2025-06-29 05:35:03.840 E         - from customer c1
2025-06-29 05:35:03.852 E         - where exists (
2025-06-29 05:35:03.861 E         - select 1 from sales s1 where s1.cust_no = c1.cust_no and s1.qty_ordered > 10
2025-06-29 05:35:03.873 E         - )
2025-06-29 05:35:03.881 E         - Check unnesting of single EXISTS
2025-06-29 05:35:03.891 E         - Select Expression
2025-06-29 05:35:03.898 E         - ....-> Filter
2025-06-29 05:35:03.906 E         - ........-> Hash Join (semi)
2025-06-29 05:35:03.913 E         - ............-> Table "CUSTOMER" as "C1" Full Scan
2025-06-29 05:35:03.918 E         - ............-> Record Buffer (record length: NN)
2025-06-29 05:35:03.923 E         - ................-> Filter
2025-06-29 05:35:03.928 E         - ....................-> Table "SALES" as "S1" Full Scan
2025-06-29 05:35:03.933 E         - 2000
2025-06-29 05:35:03.939 E         - select c2.cust_no
2025-06-29 05:35:03.944 E         - from customer c2
2025-06-29 05:35:03.950 E         - where c2.cust_no = any (
2025-06-29 05:35:03.957 E         - select s2.cust_no
2025-06-29 05:35:03.963 E         - from sales s2
2025-06-29 05:35:03.976 E         - where s2.qty_ordered > 10
2025-06-29 05:35:03.987 E         - )
2025-06-29 05:35:03.995 E         - Check unnesting of ANY
2025-06-29 05:35:04.004 E         - Select Expression
2025-06-29 05:35:04.010 E         - ....-> Filter
2025-06-29 05:35:04.019 E         - ........-> Hash Join (semi)
2025-06-29 05:35:04.031 E         - ............-> Table "CUSTOMER" as "C2" Full Scan
2025-06-29 05:35:04.039 E         - ............-> Record Buffer (record length: NN)
2025-06-29 05:35:04.052 E         - ................-> Filter
2025-06-29 05:35:04.060 E         - ....................-> Table "SALES" as "S2" Full Scan
2025-06-29 05:35:04.068 E         - 3000
2025-06-29 05:35:04.075 E         - select c3.cust_no
2025-06-29 05:35:04.081 E         - from customer c3
2025-06-29 05:35:04.088 E         - where exists (
2025-06-29 05:35:04.094 E         - select  s3.cust_no
2025-06-29 05:35:04.100 E         - from sales s3
2025-06-29 05:35:04.110 E         - where s3.cust_no = c3.cust_no and
2025-06-29 05:35:04.119 E         - exists (
2025-06-29 05:35:04.127 E         - select x.emp_no
2025-06-29 05:35:04.134 E         - from employee x
2025-06-29 05:35:04.141 E         - where
2025-06-29 05:35:04.147 E         - x.emp_no = s3.sales_rep
2025-06-29 05:35:04.153 E         - and (
2025-06-29 05:35:04.160 E         - x.dept_no > 0
2025-06-29 05:35:04.166 E         - or
2025-06-29 05:35:04.174 E         - x.job_code > ''
2025-06-29 05:35:04.181 E         - )
2025-06-29 05:35:04.188 E         - )
2025-06-29 05:35:04.195 E         - )
2025-06-29 05:35:04.202 E         - Check unnesting of two nested EXISTS
2025-06-29 05:35:04.208 E         - Select Expression
2025-06-29 05:35:04.215 E         - ....-> Filter
2025-06-29 05:35:04.222 E         - ........-> Hash Join (semi)
2025-06-29 05:35:04.230 E         - ............-> Table "CUSTOMER" as "C3" Full Scan
2025-06-29 05:35:04.237 E         - ............-> Record Buffer (record length: NN)
2025-06-29 05:35:04.250 E         - ................-> Filter
2025-06-29 05:35:04.261 E         - ....................-> Hash Join (semi)
2025-06-29 05:35:04.271 E         - ........................-> Table "SALES" as "S3" Full Scan
2025-06-29 05:35:04.284 E         - ........................-> Record Buffer (record length: NN)
2025-06-29 05:35:04.296 E         - ............................-> Filter
2025-06-29 05:35:04.307 E         - ................................-> Table "EMPLOYEE" as "X" Full Scan
2025-06-29 05:35:04.315 E         - 4000
2025-06-29 05:35:04.322 E         - select c4.cust_no
2025-06-29 05:35:04.331 E         - from customer c4
2025-06-29 05:35:04.339 E         - where c4.cust_no in
2025-06-29 05:35:04.347 E         - (
2025-06-29 05:35:04.356 E         - select s4.cust_no
2025-06-29 05:35:04.364 E         - from sales s4
2025-06-29 05:35:04.371 E         - where
2025-06-29 05:35:04.378 E         - s4.paid > ''
2025-06-29 05:35:04.385 E         - or
2025-06-29 05:35:04.391 E         - s4.sales_rep in (
2025-06-29 05:35:04.398 E         - select x.emp_no
2025-06-29 05:35:04.404 E         - from employee x
2025-06-29 05:35:04.410 E         - where
2025-06-29 05:35:04.418 E         - x.dept_no > 0
2025-06-29 05:35:04.428 E         - or
2025-06-29 05:35:04.440 E         - x.job_code > ''
2025-06-29 05:35:04.451 E         - )
2025-06-29 05:35:04.465 E         - )
2025-06-29 05:35:04.476 E         - Check unnesting of IN (NOTE: inner sub-query cannot be unnested due to OR condition present, but the outer sub-query *can*; see also bugs/gh_8265_test.py)
2025-06-29 05:35:04.484 E         - Sub-query
2025-06-29 05:35:04.491 E         - ....-> Filter
2025-06-29 05:35:04.502 E         - ........-> Filter
2025-06-29 05:35:04.513 E         - ............-> Table "EMPLOYEE" as "X" Access By ID
2025-06-29 05:35:04.524 E         - ................-> Bitmap
2025-06-29 05:35:04.532 E         - ....................-> Index "EMPLOYEE_PK" Unique Scan
2025-06-29 05:35:04.538 E         - Select Expression
2025-06-29 05:35:04.543 E         - ....-> Filter
2025-06-29 05:35:04.549 E         - ........-> Hash Join (semi)
2025-06-29 05:35:04.555 E         - ............-> Table "CUSTOMER" as "C4" Full Scan
2025-06-29 05:35:04.560 E         - ............-> Record Buffer (record length: NN)
2025-06-29 05:35:04.567 E         - ................-> Filter
2025-06-29 05:35:04.575 E         - ....................-> Table "SALES" as "S4" Full Scan
2025-06-29 05:35:04.581
2025-06-29 05:35:04.587 tests/bugs/gh_8061_test.py:232: AssertionError
2025-06-29 05:35:04.593 ---------------------------- Captured stdout setup -----------------------------
2025-06-29 05:35:04.598 Creating db: localhost:/var/tmp/qa_2024/test_11672/test.fdb [page_size=None, sql_dialect=None, charset='NONE', user=SYSDBA, password=masterkey]
3 #text
act = <firebird.qa.plugin.Action pytest object at [hex]>
tmp_sql = PosixPath('/var/tmp/qa_2024/test_11672/gh_8061.tmp.sql')
capsys = <_pytest.capture.CaptureFixture pytest object at [hex]>

    @pytest.mark.version('>=5.0.1')
    def test_1(act: Action, tmp_sql: Path, capsys):
        employee_data_sql = zipfile.Path(act.files_dir / 'standard_sample_databases.zip', at='sample-DB_-_firebird.sql')
        tmp_sql.write_bytes(employee_data_sql.read_bytes())
    
        act.isql(switches = ['-q'], charset='utf8', input_file = tmp_sql, combine_output = True)
    
        if act.return_code == 0:
    
            srv_cfg = driver_config.register_server(name = f'srv_cfg_8061', config = '')
            db_cfg_name = f'db_cfg_8061'
            db_cfg_object = driver_config.register_database(name = db_cfg_name)
            db_cfg_object.server.value = srv_cfg.name
            db_cfg_object.database.value = str(act.db.db_path)
            if act.is_version('<6'):
                db_cfg_object.config.value = f"""
                    SubQueryConversion = true
                """
    
            with connect(db_cfg_name, user = act.db.user, password = act.db.password) as con:
                cur = con.cursor()
                for q_idx, q_tuple in query_map.items():
                    test_sql, qry_comment = q_tuple[:2]
                    ps = cur.prepare(test_sql)
                    print(q_idx)
                    print(test_sql)
                    print(qry_comment)
                    print( '\n'.join([replace_leading(s) for s in ps.detailed_plan.split('\n')]) )
                    ps.free()
    
        else:
            # If retcode !=0 then we can print the whole output of failed gbak:
            print('Initial script failed, check output:')
            for line in act.clean_stdout.splitlines():
                print(line)
        act.reset()
    
        act.expected_stdout = f"""
            1000
            {query_map[1000][0]}
            {query_map[1000][1]}
            Select Expression
            ....-> Filter
            ........-> Hash Join (semi) (keys: 1, total key length: 4)
            ............-> Table "CUSTOMER" as "C1" Full Scan
            ............-> Record Buffer (record length: 33)
            ................-> Filter
            ....................-> Table "SALES" as "S1" Full Scan
    
            2000
            {query_map[2000][0]}
            {query_map[2000][1]}
            Select Expression
            ....-> Filter
            ........-> Hash Join (semi) (keys: 1, total key length: 4)
            ............-> Table "CUSTOMER" as "C2" Full Scan
            ............-> Record Buffer (record length: 33)
            ................-> Filter
            ....................-> Table "SALES" as "S2" Full Scan
    
            3000
            {query_map[3000][0]}
            {query_map[3000][1]}
            Select Expression
            ....-> Filter
            ........-> Hash Join (semi) (keys: 1, total key length: 4)
            ............-> Table "CUSTOMER" as "C3" Full Scan
            ............-> Record Buffer (record length: 58)
            ................-> Filter
            ....................-> Hash Join (semi) (keys: 1, total key length: 2)
            ........................-> Table "SALES" as "S3" Full Scan
            ........................-> Record Buffer (record length: 41)
            ............................-> Filter
            ................................-> Table "EMPLOYEE" as "X" Full Scan
    
            4000
            {query_map[4000][0]}
            {query_map[4000][1]}
            Sub-query
            ....-> Filter
            ........-> Filter
            ............-> Table "EMPLOYEE" as "X" Access By ID
            ................-> Bitmap
            ....................-> Index "EMPLOYEE_PK" Unique Scan
            Select Expression
            ....-> Filter
            ........-> Hash Join (semi) (keys: 1, total key length: 4)
            ............-> Table "CUSTOMER" as "C4" Full Scan
            ............-> Record Buffer (record length: 33)
            ................-> Filter
            ....................-> Table "SALES" as "S4" Full Scan
    
        """
        act.stdout = capsys.readouterr().out
>       assert act.clean_stdout == act.clean_expected_stdout
E       assert   
E         + Initial script failed, check output:
E         + Statement failed, SQLSTATE = 22021
E         + unsuccessful metadata update
E         + -ALTER CHARACTER SET "SYSTEM"."UTF8" failed
E         + -COLLATION "SYSTEM"."CI_COLL" for CHARACTER SET "SYSTEM"."UTF8" is not defined
E         + After line 16 in file /var/tmp/qa_2024/test_11672/gh_8061.tmp.sql
E         - 1000
E         - select c1.cust_no
E         - from customer c1
E         - where exists (
E         - select 1 from sales s1 where s1.cust_no = c1.cust_no and s1.qty_ordered > 10
E         - )
E         - Check unnesting of single EXISTS
E         - Select Expression
E         - ....-> Filter
E         - ........-> Hash Join (semi)
E         - ............-> Table "CUSTOMER" as "C1" Full Scan
E         - ............-> Record Buffer (record length: NN)
E         - ................-> Filter
E         - ....................-> Table "SALES" as "S1" Full Scan
E         - 2000
E         - select c2.cust_no
E         - from customer c2
E         - where c2.cust_no = any (
E         - select s2.cust_no
E         - from sales s2
E         - where s2.qty_ordered > 10
E         - )
E         - Check unnesting of ANY
E         - Select Expression
E         - ....-> Filter
E         - ........-> Hash Join (semi)
E         - ............-> Table "CUSTOMER" as "C2" Full Scan
E         - ............-> Record Buffer (record length: NN)
E         - ................-> Filter
E         - ....................-> Table "SALES" as "S2" Full Scan
E         - 3000
E         - select c3.cust_no
E         - from customer c3
E         - where exists (
E         - select  s3.cust_no
E         - from sales s3
E         - where s3.cust_no = c3.cust_no and
E         - exists (
E         - select x.emp_no
E         - from employee x
E         - where
E         - x.emp_no = s3.sales_rep
E         - and (
E         - x.dept_no > 0
E         - or
E         - x.job_code > ''
E         - )
E         - )
E         - )
E         - Check unnesting of two nested EXISTS
E         - Select Expression
E         - ....-> Filter
E         - ........-> Hash Join (semi)
E         - ............-> Table "CUSTOMER" as "C3" Full Scan
E         - ............-> Record Buffer (record length: NN)
E         - ................-> Filter
E         - ....................-> Hash Join (semi)
E         - ........................-> Table "SALES" as "S3" Full Scan
E         - ........................-> Record Buffer (record length: NN)
E         - ............................-> Filter
E         - ................................-> Table "EMPLOYEE" as "X" Full Scan
E         - 4000
E         - select c4.cust_no
E         - from customer c4
E         - where c4.cust_no in
E         - (
E         - select s4.cust_no
E         - from sales s4
E         - where
E         - s4.paid > ''
E         - or
E         - s4.sales_rep in (
E         - select x.emp_no
E         - from employee x
E         - where
E         - x.dept_no > 0
E         - or
E         - x.job_code > ''
E         - )
E         - )
E         - Check unnesting of IN (NOTE: inner sub-query cannot be unnested due to OR condition present, but the outer sub-query *can*; see also bugs/gh_8265_test.py)
E         - Sub-query
E         - ....-> Filter
E         - ........-> Filter
E         - ............-> Table "EMPLOYEE" as "X" Access By ID
E         - ................-> Bitmap
E         - ....................-> Index "EMPLOYEE_PK" Unique Scan
E         - Select Expression
E         - ....-> Filter
E         - ........-> Hash Join (semi)
E         - ............-> Table "CUSTOMER" as "C4" Full Scan
E         - ............-> Record Buffer (record length: NN)
E         - ................-> Filter
E         - ....................-> Table "SALES" as "S4" Full Scan

tests/bugs/gh_8061_test.py:232: AssertionError
Full history of outcomes and elapsed time, ms:
NN SNAP_INFO CS_outcome SS_outcome CS_run_time SS_run_time CS_run_beg CS_run_end SS_run_beg SS_run_end
1 6.0.0.881 2025.06.27 7035d F F 768 616 2025.06.29 01:58:11.019 2025.06.29 01:58:11.787 2025.06.28 23:17:54.846 2025.06.28 23:17:55.462
2 6.0.0.877 2025.06.26 8e38f F F 684 529 2025.06.27 01:42:37.018 2025.06.27 01:42:37.702 2025.06.26 23:10:08.070 2025.06.26 23:10:08.599
3 6.0.0.876 2025.06.25 b1bec F F 756 560 2025.06.26 01:46:27.501 2025.06.26 01:46:28.257 2025.06.25 23:12:02.594 2025.06.25 23:12:03.154
4 6.0.0.863 2025.06.24 c3c20 F F 682 610 2025.06.25 01:46:45.422 2025.06.25 01:46:46.104 2025.06.24 23:11:47.354 2025.06.24 23:11:47.964
5 6.0.0.858 2025.06.23 8d6f7 F F 663 629 2025.06.24 01:47:06.667 2025.06.24 01:47:07.330 2025.06.23 23:11:56.122 2025.06.23 23:11:56.751
6 6.0.0.849 2025.06.20 7b79c F F 726 551 2025.06.21 01:58:39.475 2025.06.21 01:58:40.201 2025.06.20 23:21:07.959 2025.06.20 23:21:08.510
7 6.0.0.848 2025.06.19 c483c F F 730 420 2025.06.20 01:54:59.987 2025.06.20 01:55:00.717 2025.06.19 23:17:55.666 2025.06.19 23:17:56.086
8 6.0.0.845 2025.06.18 22b12 F F 738 602 2025.06.19 02:03:39.792 2025.06.19 02:03:40.530 2025.06.18 23:21:02.859 2025.06.18 23:21:03.461
9 6.0.0.843 2025.06.16 995f4 F F 628 355 2025.06.18 02:01:54.602 2025.06.18 02:01:55.230 2025.06.17 23:23:21.457 2025.06.17 23:23:21.812
10 6.0.0.840 2025.06.14 29bca F F 698 610 2025.06.16 01:53:42.780 2025.06.16 01:53:43.478 2025.06.15 23:15:20.734 2025.06.15 23:15:21.344
11 6.0.0.838 2025.06.13 0e28a F F 687 579 2025.06.14 02:06:45.291 2025.06.14 02:06:45.978 2025.06.13 23:22:58.687 2025.06.13 23:22:59.266
12 6.0.0.835 2025.06.12 2cf29 F F 693 364 2025.06.13 02:06:43.796 2025.06.13 02:06:44.489 2025.06.12 23:27:05.693 2025.06.12 23:27:06.057
13 6.0.0.834 2025.06.11 e889f F F 651 611 2025.06.12 02:01:55.670 2025.06.12 02:01:56.321 2025.06.11 23:23:12.421 2025.06.11 23:23:13.032
14 6.0.0.800 2025.06.10 1f226 P P 1844 1050 2025.06.11 00:28:43.970 2025.06.11 00:28:45.814 2025.06.10 22:21:19.366 2025.06.10 22:21:20.416
15 6.0.0.799 2025.06.07 be644 P P 1776 1416 2025.06.10 00:30:24.539 2025.06.10 00:30:26.315 2025.06.09 22:20:54.122 2025.06.09 22:20:55.538
16 6.0.0.797 2025.06.06 303e8 P P 1132 1734 2025.06.07 00:34:07.402 2025.06.07 00:34:08.534 2025.06.06 22:20:27.138 2025.06.06 22:20:28.872
17 6.0.0.795 2025.05.29 7a71a P P 1043 1494 2025.06.06 00:28:58.207 2025.06.06 00:28:59.250 2025.06.05 22:19:35.809 2025.06.05 22:19:37.303
18 6.0.0.792 2025.05.28 b4327 P P 2343 1590 2025.05.29 00:42:51.231 2025.05.29 00:42:53.574 2025.05.28 22:22:31.046 2025.05.28 22:22:32.636
19 6.0.0.791 2025.05.27 02db8 P P 1183 1114 2025.05.28 00:40:06.695 2025.05.28 00:40:07.878 2025.05.27 22:21:35.968 2025.05.27 22:21:37.082
20 6.0.0.789 2025.05.21 64051 P P 1206 923 2025.05.25 00:32:48.283 2025.05.25 00:32:49.489 2025.05.24 22:20:49.247 2025.05.24 22:20:50.170
21 6.0.0.787 2025.05.20 230ad P P 1052 1649 2025.05.21 00:29:55.951 2025.05.21 00:29:57.003 2025.05.20 22:19:13.238 2025.05.20 22:19:14.887
22 6.0.0.783 2025.05.12 37320 P P 1712 1307 2025.05.19 12:03:19.311 2025.05.19 12:03:21.023 2025.05.19 10:08:00.811 2025.05.19 10:08:02.118
23 6.0.0.779 2025.05.11 136fa P P 1733 1603 2025.05.12 00:25:06.594 2025.05.12 00:25:08.327 2025.05.11 22:18:44.710 2025.05.11 22:18:46.313
24 6.0.0.778 2025.05.07 d735e P P 1168 864 2025.05.08 00:27:20.317 2025.05.08 00:27:21.485 2025.05.07 22:17:38.529 2025.05.07 22:17:39.393
25 6.0.0.776 2025.05.06 007cd P P 1947 837 2025.05.07 00:21:35.383 2025.05.07 00:21:37.330 2025.05.06 22:17:34.554 2025.05.06 22:17:35.391
26 6.0.0.770 2025.05.05 82c4a P P 2411 836 2025.05.06 00:20:47.705 2025.05.06 00:20:50.116 2025.05.05 22:16:49.706 2025.05.05 22:16:50.542
27 6.0.0.767 2025.05.01 cdd29 P P 1126 938 2025.05.02 00:18:11.278 2025.05.02 00:18:12.404 2025.05.01 22:16:20.585 2025.05.01 22:16:21.523
28 6.0.0.762 2025.04.30 5cb15 P P 1025 1044 2025.05.01 00:14:18.534 2025.05.01 00:14:19.559 2025.04.30 22:15:06.707 2025.04.30 22:15:07.751
29 6.0.0.755 2025.04.29 739c6 P P 1104 1277 2025.04.30 00:16:59.163 2025.04.30 00:17:00.267 2025.04.29 22:16:23.433 2025.04.29 22:16:24.710
30 6.0.0.753 2025.04.27 29ab3 P P 2170 1044 2025.04.28 00:19:00.400 2025.04.28 00:19:02.570 2025.04.27 22:15:44.895 2025.04.27 22:15:45.939
31 6.0.0.745 2025.04.21 78ad8 P P 1037 737 2025.04.26 00:15:00.131 2025.04.26 00:15:01.168 2025.04.25 22:17:06.318 2025.04.25 22:17:07.055
32 6.0.0.744 2025.04.19 e883a P P 1076 840 2025.04.20 00:17:04.551 2025.04.20 00:17:05.627 2025.04.19 22:16:36.991 2025.04.19 22:16:37.831
33 6.0.0.742 2025.04.17 abc3b P P 1212 704 2025.04.19 00:18:54.654 2025.04.19 00:18:55.866 2025.04.18 22:16:54.270 2025.04.18 22:16:54.974
34 6.0.0.737 2025.04.16 fe52b P P 1058 853 2025.04.17 00:15:50.744 2025.04.17 00:15:51.802 2025.04.16 22:16:55.288 2025.04.16 22:16:56.141

Elapsed time, ms. Chart for last 34 runs:

Last commits information (all timestamps in UTC):