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 8 in file H:\QA\temp\qa2024.tmp\fbqa\test_11688\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-26 06:42:28.949
2025-06-26 06:42:28.949 act = <firebird.qa.plugin.Action object at [hex]>
2025-06-26 06:42:28.950 tmp_sql = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11688/gh_8061.tmp.sql')
2025-06-26 06:42:28.950 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2025-06-26 06:42:28.950
2025-06-26 06:42:28.950     @pytest.mark.version('>=5.0.1')
2025-06-26 06:42:28.950     def test_1(act: Action, tmp_sql: Path, capsys):
2025-06-26 06:42:28.950         employee_data_sql = zipfile.Path(act.files_dir / 'standard_sample_databases.zip', at='sample-DB_-_firebird.sql')
2025-06-26 06:42:28.950         tmp_sql.write_bytes(employee_data_sql.read_bytes())
2025-06-26 06:42:28.950
2025-06-26 06:42:28.950         act.isql(switches = ['-q'], charset='utf8', input_file = tmp_sql, combine_output = True)
2025-06-26 06:42:28.950
2025-06-26 06:42:28.950         if act.return_code == 0:
2025-06-26 06:42:28.950
2025-06-26 06:42:28.950             srv_cfg = driver_config.register_server(name = f'srv_cfg_8061', config = '')
2025-06-26 06:42:28.950             db_cfg_name = f'db_cfg_8061'
2025-06-26 06:42:28.950             db_cfg_object = driver_config.register_database(name = db_cfg_name)
2025-06-26 06:42:28.950             db_cfg_object.server.value = srv_cfg.name
2025-06-26 06:42:28.950             db_cfg_object.database.value = str(act.db.db_path)
2025-06-26 06:42:28.950             if act.is_version('<6'):
2025-06-26 06:42:28.950                 db_cfg_object.config.value = f"""
2025-06-26 06:42:28.951                     SubQueryConversion = true
2025-06-26 06:42:28.951                 """
2025-06-26 06:42:28.951
2025-06-26 06:42:28.951             with connect(db_cfg_name, user = act.db.user, password = act.db.password) as con:
2025-06-26 06:42:28.951                 cur = con.cursor()
2025-06-26 06:42:28.951                 for q_idx, q_tuple in query_map.items():
2025-06-26 06:42:28.951                     test_sql, qry_comment = q_tuple[:2]
2025-06-26 06:42:28.951                     ps = cur.prepare(test_sql)
2025-06-26 06:42:28.951                     print(q_idx)
2025-06-26 06:42:28.951                     print(test_sql)
2025-06-26 06:42:28.951                     print(qry_comment)
2025-06-26 06:42:28.951                     print( '\n'.join([replace_leading(s) for s in ps.detailed_plan.split('\n')]) )
2025-06-26 06:42:28.951                     ps.free()
2025-06-26 06:42:28.951
2025-06-26 06:42:28.951         else:
2025-06-26 06:42:28.951             # If retcode !=0 then we can print the whole output of failed gbak:
2025-06-26 06:42:28.951             print('Initial script failed, check output:')
2025-06-26 06:42:28.951             for line in act.clean_stdout.splitlines():
2025-06-26 06:42:28.951                 print(line)
2025-06-26 06:42:28.952         act.reset()
2025-06-26 06:42:28.952
2025-06-26 06:42:28.952         act.expected_stdout = f"""
2025-06-26 06:42:28.952             1000
2025-06-26 06:42:28.952             {query_map[1000][0]}
2025-06-26 06:42:28.952             {query_map[1000][1]}
2025-06-26 06:42:28.952             Select Expression
2025-06-26 06:42:28.952             ....-> Filter
2025-06-26 06:42:28.952             ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-26 06:42:28.952             ............-> Table "CUSTOMER" as "C1" Full Scan
2025-06-26 06:42:28.952             ............-> Record Buffer (record length: 33)
2025-06-26 06:42:28.952             ................-> Filter
2025-06-26 06:42:28.952             ....................-> Table "SALES" as "S1" Full Scan
2025-06-26 06:42:28.952
2025-06-26 06:42:28.952             2000
2025-06-26 06:42:28.952             {query_map[2000][0]}
2025-06-26 06:42:28.952             {query_map[2000][1]}
2025-06-26 06:42:28.952             Select Expression
2025-06-26 06:42:28.952             ....-> Filter
2025-06-26 06:42:28.952             ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-26 06:42:28.953             ............-> Table "CUSTOMER" as "C2" Full Scan
2025-06-26 06:42:28.953             ............-> Record Buffer (record length: 33)
2025-06-26 06:42:28.953             ................-> Filter
2025-06-26 06:42:28.953             ....................-> Table "SALES" as "S2" Full Scan
2025-06-26 06:42:28.953
2025-06-26 06:42:28.953             3000
2025-06-26 06:42:28.953             {query_map[3000][0]}
2025-06-26 06:42:28.953             {query_map[3000][1]}
2025-06-26 06:42:28.953             Select Expression
2025-06-26 06:42:28.953             ....-> Filter
2025-06-26 06:42:28.953             ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-26 06:42:28.953             ............-> Table "CUSTOMER" as "C3" Full Scan
2025-06-26 06:42:28.953             ............-> Record Buffer (record length: 58)
2025-06-26 06:42:28.953             ................-> Filter
2025-06-26 06:42:28.953             ....................-> Hash Join (semi) (keys: 1, total key length: 2)
2025-06-26 06:42:28.953             ........................-> Table "SALES" as "S3" Full Scan
2025-06-26 06:42:28.953             ........................-> Record Buffer (record length: 41)
2025-06-26 06:42:28.953             ............................-> Filter
2025-06-26 06:42:28.953             ................................-> Table "EMPLOYEE" as "X" Full Scan
2025-06-26 06:42:28.954
2025-06-26 06:42:28.954             4000
2025-06-26 06:42:28.954             {query_map[4000][0]}
2025-06-26 06:42:28.954             {query_map[4000][1]}
2025-06-26 06:42:28.954             Sub-query
2025-06-26 06:42:28.954             ....-> Filter
2025-06-26 06:42:28.954             ........-> Filter
2025-06-26 06:42:28.954             ............-> Table "EMPLOYEE" as "X" Access By ID
2025-06-26 06:42:28.954             ................-> Bitmap
2025-06-26 06:42:28.954             ....................-> Index "EMPLOYEE_PK" Unique Scan
2025-06-26 06:42:28.954             Select Expression
2025-06-26 06:42:28.954             ....-> Filter
2025-06-26 06:42:28.954             ........-> Hash Join (semi) (keys: 1, total key length: 4)
2025-06-26 06:42:28.954             ............-> Table "CUSTOMER" as "C4" Full Scan
2025-06-26 06:42:28.954             ............-> Record Buffer (record length: 33)
2025-06-26 06:42:28.954             ................-> Filter
2025-06-26 06:42:28.954             ....................-> Table "SALES" as "S4" Full Scan
2025-06-26 06:42:28.954
2025-06-26 06:42:28.954         """
2025-06-26 06:42:28.954         act.stdout = capsys.readouterr().out
2025-06-26 06:42:28.955 >       assert act.clean_stdout == act.clean_expected_stdout
2025-06-26 06:42:28.955 E       assert
2025-06-26 06:42:28.955 E         + Initial script failed, check output:
2025-06-26 06:42:28.955 E         + Statement failed, SQLSTATE = 22021
2025-06-26 06:42:28.955 E         + unsuccessful metadata update
2025-06-26 06:42:28.955 E         + -ALTER CHARACTER SET "SYSTEM"."UTF8" failed
2025-06-26 06:42:28.955 E         + -COLLATION "SYSTEM"."CI_COLL" for CHARACTER SET "SYSTEM"."UTF8" is not defined
2025-06-26 06:42:28.955 E         + After line 8 in file H:\QA\temp\qa2024.tmp\fbqa\test_11688\gh_8061.tmp.sql
2025-06-26 06:42:28.955 E         - 1000
2025-06-26 06:42:28.955 E         - select c1.cust_no
2025-06-26 06:42:28.955 E         - from customer c1
2025-06-26 06:42:28.955 E         - where exists (
2025-06-26 06:42:28.955 E         - select 1 from sales s1 where s1.cust_no = c1.cust_no and s1.qty_ordered > 10
2025-06-26 06:42:28.955 E         - )
2025-06-26 06:42:28.955 E         - Check unnesting of single EXISTS
2025-06-26 06:42:28.955 E         - Select Expression
2025-06-26 06:42:28.955 E         - ....-> Filter
2025-06-26 06:42:28.955 E         - ........-> Hash Join (semi)
2025-06-26 06:42:28.955 E         - ............-> Table "CUSTOMER" as "C1" Full Scan
2025-06-26 06:42:28.955 E         - ............-> Record Buffer (record length: NN)
2025-06-26 06:42:28.956 E         - ................-> Filter
2025-06-26 06:42:28.956 E         - ....................-> Table "SALES" as "S1" Full Scan
2025-06-26 06:42:28.956 E         - 2000
2025-06-26 06:42:28.956 E         - select c2.cust_no
2025-06-26 06:42:28.956 E         - from customer c2
2025-06-26 06:42:28.956 E         - where c2.cust_no = any (
2025-06-26 06:42:28.956 E         - select s2.cust_no
2025-06-26 06:42:28.956 E         - from sales s2
2025-06-26 06:42:28.956 E         - where s2.qty_ordered > 10
2025-06-26 06:42:28.956 E         - )
2025-06-26 06:42:28.956 E         - Check unnesting of ANY
2025-06-26 06:42:28.956 E         - Select Expression
2025-06-26 06:42:28.956 E         - ....-> Filter
2025-06-26 06:42:28.956 E         - ........-> Hash Join (semi)
2025-06-26 06:42:28.956 E         - ............-> Table "CUSTOMER" as "C2" Full Scan
2025-06-26 06:42:28.956 E         - ............-> Record Buffer (record length: NN)
2025-06-26 06:42:28.956 E         - ................-> Filter
2025-06-26 06:42:28.956 E         - ....................-> Table "SALES" as "S2" Full Scan
2025-06-26 06:42:28.956 E         - 3000
2025-06-26 06:42:28.957 E         - select c3.cust_no
2025-06-26 06:42:28.957 E         - from customer c3
2025-06-26 06:42:28.957 E         - where exists (
2025-06-26 06:42:28.957 E         - select  s3.cust_no
2025-06-26 06:42:28.957 E         - from sales s3
2025-06-26 06:42:28.957 E         - where s3.cust_no = c3.cust_no and
2025-06-26 06:42:28.957 E         - exists (
2025-06-26 06:42:28.957 E         - select x.emp_no
2025-06-26 06:42:28.957 E         - from employee x
2025-06-26 06:42:28.957 E         - where
2025-06-26 06:42:28.957 E         - x.emp_no = s3.sales_rep
2025-06-26 06:42:28.957 E         - and (
2025-06-26 06:42:28.957 E         - x.dept_no > 0
2025-06-26 06:42:28.957 E         - or
2025-06-26 06:42:28.957 E         - x.job_code > ''
2025-06-26 06:42:28.957 E         - )
2025-06-26 06:42:28.957 E         - )
2025-06-26 06:42:28.957 E         - )
2025-06-26 06:42:28.957 E         - Check unnesting of two nested EXISTS
2025-06-26 06:42:28.958 E         - Select Expression
2025-06-26 06:42:28.958 E         - ....-> Filter
2025-06-26 06:42:28.958 E         - ........-> Hash Join (semi)
2025-06-26 06:42:28.958 E         - ............-> Table "CUSTOMER" as "C3" Full Scan
2025-06-26 06:42:28.958 E         - ............-> Record Buffer (record length: NN)
2025-06-26 06:42:28.958 E         - ................-> Filter
2025-06-26 06:42:28.958 E         - ....................-> Hash Join (semi)
2025-06-26 06:42:28.958 E         - ........................-> Table "SALES" as "S3" Full Scan
2025-06-26 06:42:28.958 E         - ........................-> Record Buffer (record length: NN)
2025-06-26 06:42:28.958 E         - ............................-> Filter
2025-06-26 06:42:28.958 E         - ................................-> Table "EMPLOYEE" as "X" Full Scan
2025-06-26 06:42:28.958 E         - 4000
2025-06-26 06:42:28.958 E         - select c4.cust_no
2025-06-26 06:42:28.958 E         - from customer c4
2025-06-26 06:42:28.958 E         - where c4.cust_no in
2025-06-26 06:42:28.958 E         - (
2025-06-26 06:42:28.958 E         - select s4.cust_no
2025-06-26 06:42:28.958 E         - from sales s4
2025-06-26 06:42:28.958 E         - where
2025-06-26 06:42:28.958 E         - s4.paid > ''
2025-06-26 06:42:28.959 E         - or
2025-06-26 06:42:28.959 E         - s4.sales_rep in (
2025-06-26 06:42:28.959 E         - select x.emp_no
2025-06-26 06:42:28.959 E         - from employee x
2025-06-26 06:42:28.959 E         - where
2025-06-26 06:42:28.959 E         - x.dept_no > 0
2025-06-26 06:42:28.959 E         - or
2025-06-26 06:42:28.959 E         - x.job_code > ''
2025-06-26 06:42:28.959 E         - )
2025-06-26 06:42:28.959 E         - )
2025-06-26 06:42:28.959 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-26 06:42:28.959 E         - Sub-query
2025-06-26 06:42:28.959 E         - ....-> Filter
2025-06-26 06:42:28.959 E         - ........-> Filter
2025-06-26 06:42:28.959 E         - ............-> Table "EMPLOYEE" as "X" Access By ID
2025-06-26 06:42:28.959 E         - ................-> Bitmap
2025-06-26 06:42:28.959 E         - ....................-> Index "EMPLOYEE_PK" Unique Scan
2025-06-26 06:42:28.959 E         - Select Expression
2025-06-26 06:42:28.960 E         - ....-> Filter
2025-06-26 06:42:28.960 E         - ........-> Hash Join (semi)
2025-06-26 06:42:28.960 E         - ............-> Table "CUSTOMER" as "C4" Full Scan
2025-06-26 06:42:28.960 E         - ............-> Record Buffer (record length: NN)
2025-06-26 06:42:28.960 E         - ................-> Filter
2025-06-26 06:42:28.960 E         - ....................-> Table "SALES" as "S4" Full Scan
2025-06-26 06:42:28.960
2025-06-26 06:42:28.960 tests\bugs\gh_8061_test.py:232: AssertionError
2025-06-26 06:42:28.960 ---------------------------- Captured stdout setup ----------------------------
2025-06-26 06:42:28.960 Creating db: localhost:H:\QA\temp\qa2024.tmp\fbqa\test_11688\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 = WindowsPath('H:/QA/temp/qa2024.tmp/fbqa/test_11688/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 8 in file H:\QA\temp\qa2024.tmp\fbqa\test_11688\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 606 414 2025.06.28 03:13:29.875 2025.06.28 03:13:30.481 2025.06.28 01:29:45.449 2025.06.28 01:29:45.863
2 6.0.0.877 2025.06.26 8e38f F F 633 425 2025.06.27 03:12:25.768 2025.06.27 03:12:26.401 2025.06.27 01:29:59.580 2025.06.27 01:30:00.005
3 6.0.0.876 2025.06.25 b1bec F F 603 418 2025.06.26 03:17:44.019 2025.06.26 03:17:44.622 2025.06.26 01:35:38.026 2025.06.26 01:35:38.444
4 6.0.0.863 2025.06.24 c3c20 F F 645 413 2025.06.25 08:01:54.019 2025.06.25 08:01:54.664 2025.06.25 01:29:40.257 2025.06.25 01:29:40.670
5 6.0.0.858 2025.06.24 cbbbf F F 615 421 2025.06.24 17:44:25.542 2025.06.24 17:44:26.157 2025.06.24 16:01:38.068 2025.06.24 16:01:38.489
6 6.0.0.858 2025.06.23 d377c F F 650 425 2025.06.24 08:56:26.550 2025.06.24 08:56:27.200 2025.06.24 07:14:00.137 2025.06.24 07:14:00.562
7 6.0.0.854 2025.06.23 10b58 F F 607 447 2025.06.23 15:37:19.489 2025.06.23 15:37:20.096 2025.06.23 13:53:33.138 2025.06.23 13:53:33.585
8 6.0.0.849 2025.06.20 7b79c F F 611 435 2025.06.21 03:15:39.366 2025.06.21 03:15:39.977 2025.06.21 01:30:12.786 2025.06.21 01:30:13.221
9 6.0.0.848 2025.06.19 c483c F F 671 422 2025.06.20 03:15:16.772 2025.06.20 03:15:17.443 2025.06.20 01:29:57.467 2025.06.20 01:29:57.889
10 6.0.0.845 2025.06.18 20191 F F 624 419 2025.06.19 03:14:54.151 2025.06.19 03:14:54.775 2025.06.19 01:29:44.415 2025.06.19 01:29:44.834
11 6.0.0.843 2025.06.16 995f4 F F 653 423 2025.06.18 03:14:42.077 2025.06.18 03:14:42.730 2025.06.18 01:29:27.714 2025.06.18 01:29:28.137
12 6.0.0.840 2025.06.14 29bca F F 675 429 2025.06.15 03:23:11.403 2025.06.15 03:23:12.078 2025.06.15 01:32:30.883 2025.06.15 01:32:31.312
13 6.0.0.838 2025.06.13 0e28a F F 613 434 2025.06.14 03:20:55.041 2025.06.14 03:20:55.654 2025.06.14 01:30:50.263 2025.06.14 01:30:50.697
14 6.0.0.834 2025.06.11 e889f F F 644 419 2025.06.12 03:18:27.043 2025.06.12 03:18:27.687 2025.06.12 01:31:21.644 2025.06.12 01:31:22.063
15 6.0.0.800 2025.06.10 1f226 P P 860 663 2025.06.11 02:02:33.689 2025.06.11 02:02:34.549 2025.06.11 00:54:09.390 2025.06.11 00:54:10.053
16 6.0.0.799 2025.06.07 be644 P P 870 680 2025.06.10 02:02:09.566 2025.06.10 02:02:10.436 2025.06.10 00:53:46.476 2025.06.10 00:53:47.156
17 6.0.0.797 2025.06.06 303e8 P P 912 649 2025.06.07 02:01:01.931 2025.06.07 02:01:02.843 2025.06.07 00:53:34.943 2025.06.07 00:53:35.592
18 6.0.0.795 2025.05.29 7a71a P P 876 635 2025.06.06 02:00:52.648 2025.06.06 02:00:53.524 2025.06.06 00:53:32.786 2025.06.06 00:53:33.421
19 6.0.0.792 2025.05.28 ee5a8 P P 870 642 2025.05.29 01:59:58.462 2025.05.29 01:59:59.332 2025.05.29 00:53:39.218 2025.05.29 00:53:39.860
20 6.0.0.791 2025.05.27 02db8 P P 914 632 2025.05.28 02:00:27.294 2025.05.28 02:00:28.208 2025.05.28 00:53:22.219 2025.05.28 00:53:22.851
21 6.0.0.789 2025.05.21 64051 P P 894 641 2025.05.25 02:00:10.749 2025.05.25 02:00:11.643 2025.05.25 00:53:47.075 2025.05.25 00:53:47.716
22 6.0.0.787 2025.05.20 230ad P P 900 652 2025.05.21 01:59:06.150 2025.05.21 01:59:07.050 2025.05.21 00:52:56.790 2025.05.21 00:52:57.442
23 6.0.0.783 2025.05.12 37320 P P 916 647 2025.05.19 01:58:53.699 2025.05.19 01:58:54.615 2025.05.19 00:53:04.517 2025.05.19 00:53:05.164
24 6.0.0.779 2025.05.11 136fa P P 917 655 2025.05.12 02:01:00.569 2025.05.12 02:01:01.486 2025.05.12 00:53:41.467 2025.05.12 00:53:42.122
25 6.0.0.778 2025.05.07 d735e P P 914 645 2025.05.11 02:00:25.117 2025.05.11 02:00:26.031 2025.05.11 00:53:55.621 2025.05.11 00:53:56.266
26 6.0.0.776 2025.05.06 007cd P P 859 650 2025.05.07 01:59:39.785 2025.05.07 01:59:40.644 2025.05.07 00:53:32.544 2025.05.07 00:53:33.194
27 6.0.0.770 2025.05.05 82c4a P P 877 677 2025.05.06 01:59:59.005 2025.05.06 01:59:59.882 2025.05.06 00:53:38.717 2025.05.06 00:53:39.394
28 6.0.0.767 2025.05.01 cdd29 P P 862 643 2025.05.02 02:00:34.811 2025.05.02 02:00:35.673 2025.05.02 00:54:29.799 2025.05.02 00:54:30.442
29 6.0.0.762 2025.04.30 5cb15 P P 863 659 2025.05.01 01:59:02.001 2025.05.01 01:59:02.864 2025.05.01 00:53:51.565 2025.05.01 00:53:52.224
30 6.0.0.755 2025.04.29 739c6 P P 869 639 2025.04.30 01:59:15.358 2025.04.30 01:59:16.227 2025.04.30 00:53:34.201 2025.04.30 00:53:34.840
31 6.0.0.753 2025.04.27 29ab3 P P 846 656 2025.04.29 01:59:25.629 2025.04.29 01:59:26.475 2025.04.29 00:53:37.473 2025.04.29 00:53:38.129
32 6.0.0.745 2025.04.21 78ad8 P P 858 643 2025.04.26 02:00:49.704 2025.04.26 02:00:50.562 2025.04.26 00:53:56.190 2025.04.26 00:53:56.833
33 6.0.0.744 2025.04.19 e883a P P 857 646 2025.04.20 02:00:17.184 2025.04.20 02:00:18.041 2025.04.20 00:53:49.215 2025.04.20 00:53:49.861
34 6.0.0.742 2025.04.17 abc3b P P 910 639 2025.04.19 01:59:44.641 2025.04.19 01:59:45.551 2025.04.19 00:53:24.396 2025.04.19 00:53:25.035
35 6.0.0.737 2025.04.16 fe52b P P 855 663 2025.04.17 02:00:09.375 2025.04.17 02:00:10.230 2025.04.17 00:53:37.596 2025.04.17 00:53:38.259

Elapsed time, ms. Chart for last 35 runs:

Last commits information (all timestamps in UTC):