morrySnow commented on code in PR #65400:
URL: https://github.com/apache/doris/pull/65400#discussion_r3557628278
##########
fe/fe-core/src/test/java/org/apache/doris/catalog/FunctionToSqlConverterTest.java:
##########
@@ -49,11 +49,25 @@ void testScalarFunction_javaUdf_basicSql() throws
AnalysisException {
Assertions.assertTrue(sql.contains("\"TYPE\"=\"JAVA_UDF\""));
Assertions.assertTrue(sql.contains("\"VOLATILITY\"=\"volatile\""));
Assertions.assertTrue(sql.contains("\"ALWAYS_NULLABLE\"="));
+ Assertions.assertTrue(sql.contains("\"STATIC_LOAD\"=\"false\""));
Assertions.assertFalse(sql.contains("OBJECT_FILE"));
Assertions.assertFalse(sql.contains("IF NOT EXISTS"));
Assertions.assertFalse(sql.contains("GLOBAL"));
}
+ @Test
+ void testScalarFunction_javaUdf_staticLoad() {
Review Comment:
用驼峰命名,不要下划线
--
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]