xinghuayu007 opened a new issue, #10969:
URL: https://github.com/apache/incubator-gluten/issues/10969

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   Function 'runAndCheck' in 
gluten-flink/ut/src/test/java/org/apache/gluten/table/runtime/stream/common/GlutenStreamingTestBase.java
 waits for the result in file 'taskmanager.out'. If some failures happend in 
velox, the file keeps empty, the function waits for the result always the time.
   
   How to reproduce:
   1. register not equal function to gluten for data type integer 
(gluten-flink/planner/src/main/java/org/apache/gluten/rexnode/functions/RexCallConverterFactory.java),
 but it is not supported by velox.
   
             Map.entry(
                 "<>",
                 Arrays.asList(
                     () -> new 
BasicArithmeticOperatorRexCallConverter("notequalto"),
                     () -> new StringCompareRexCallConverter("notequalto"),
                     () -> new 
StringNumberCompareRexCallConverter("notequalto"))),
   
   2. run a unit test like the following:
    @Test
     void testNEqual() {
       List<Row> rows =
           Arrays.asList(Row.of(1, 1L, "2", "1"), Row.of(2, 2L, "2", "2"), 
Row.of(3, 3L, "2", "1"));
       createSimpleBoundedValuesTable("tblLess", "a int, b bigint, c string, d 
string", rows);
       String query = "select a <> 2 as x from tblLess where a > 0";
       runAndCheck(query, Arrays.asList("+I[true]", "+I[false]", "+I[true]"));
     }
   
   3. the unit test gets stuck.
   
   ### Gluten version
   
   _No response_
   
   ### Spark version
   
   None
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to