@@ -754,15 +754,26 @@ def test_pipeline_e2e_errors(
754754 lambda : pd .DataFrame (
755755 {
756756 "transaction_id" : [
757- "TX001" , "TX005" , "TX011" , "TX015" , "TX021" , "TX025" ,
758- "TX031" , "TX033" , "TX035" , "TX044" , "TX045" , "TX049" ,
759- "TX051" , "TX055"
757+ "TX001" ,
758+ "TX005" ,
759+ "TX011" ,
760+ "TX015" ,
761+ "TX021" ,
762+ "TX025" ,
763+ "TX031" ,
764+ "TX033" ,
765+ "TX035" ,
766+ "TX044" ,
767+ "TX045" ,
768+ "TX049" ,
769+ "TX051" ,
770+ "TX055" ,
760771 ],
761772 "_expr0" : [9 , 12 , 9 , 12 , 9 , 12 , 0 , 0 , 0 , 10 , 10 , 16 , 0 , 0 ],
762773 "_expr1" : [30 , 30 , 30 , 30 , 30 , 30 , 0 , 0 , 0 , 0 , 30 , 0 , 0 , 0 ],
763774 "_expr2" : [0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ],
764775 }
765- )
776+ ),
766777 ),
767778 id = "broker_basic1" ,
768779 ),
@@ -772,22 +783,52 @@ def test_pipeline_e2e_errors(
772783 "Broker" ,
773784 lambda : pd .DataFrame (
774785 {
775- "low_square" : [6642.2500 , 6740.4100 , 6839.2900 , 6938.8900 , 7039.2100 ,
776- 7140.2500 , 7242.0100 , 16576.5625 , 16900.0000 , 17292.2500 ],
777- "low_sqrt" : [9.027735 , 9.060905 , 9.093954 , 9.126883 , 9.159694 ,
778- 9.192388 , 9.224966 , 11.346806 , 11.401754 , 11.467345 ],
779- "low_cbrt" : [4.335633 , 4.346247 , 4.356809 , 4.367320 , 4.377781 ,
780- 4.388191 , 4.398553 , 5.049508 , 5.065797 , 5.085206 ]
786+ "low_square" : [
787+ 6642.2500 ,
788+ 6740.4100 ,
789+ 6839.2900 ,
790+ 6938.8900 ,
791+ 7039.2100 ,
792+ 7140.2500 ,
793+ 7242.0100 ,
794+ 16576.5625 ,
795+ 16900.0000 ,
796+ 17292.2500 ,
797+ ],
798+ "low_sqrt" : [
799+ 9.027735 ,
800+ 9.060905 ,
801+ 9.093954 ,
802+ 9.126883 ,
803+ 9.159694 ,
804+ 9.192388 ,
805+ 9.224966 ,
806+ 11.346806 ,
807+ 11.401754 ,
808+ 11.467345 ,
809+ ],
810+ "low_cbrt" : [
811+ 4.335633 ,
812+ 4.346247 ,
813+ 4.356809 ,
814+ 4.367320 ,
815+ 4.377781 ,
816+ 4.388191 ,
817+ 4.398553 ,
818+ 5.049508 ,
819+ 5.065797 ,
820+ 5.085206 ,
821+ ],
781822 }
782- )
823+ ),
783824 ),
784825 id = "exponentiation" ,
785826 ),
786- ],
827+ ],
787828)
788829def custom_defog_test_data (
789830 request ,
790- ) -> tuple [Callable [[], UnqualifiedNode ],str ,pd .DataFrame ]:
831+ ) -> tuple [Callable [[], UnqualifiedNode ], str , pd .DataFrame ]:
791832 """
792833 Test data for test_defog_e2e. Returns a tuple of the following
793834 arguments:
@@ -801,7 +842,7 @@ def custom_defog_test_data(
801842
802843@pytest .mark .execute
803844def test_defog_e2e_with_custom_data (
804- custom_defog_test_data : tuple [Callable [[], UnqualifiedNode ],str ,pd .DataFrame ],
845+ custom_defog_test_data : tuple [Callable [[], UnqualifiedNode ], str , pd .DataFrame ],
805846 defog_graphs : graph_fetcher ,
806847 sqlite_defog_connection : DatabaseContext ,
807848):
@@ -810,7 +851,7 @@ def test_defog_e2e_with_custom_data(
810851 comparing against the result of running the reference SQL query text on the
811852 same database connector.
812853 """
813- unqualified_impl , graph_name , answer_impl = custom_defog_test_data
854+ unqualified_impl , graph_name , answer_impl = custom_defog_test_data
814855 graph : GraphMetadata = defog_graphs (graph_name )
815856 root : UnqualifiedNode = init_pydough_context (graph )(unqualified_impl )()
816857 result : pd .DataFrame = to_df (root , metadata = graph , database = sqlite_defog_connection )
0 commit comments