Fix HANA test failures
This commit is contained in:
parent
de1de9f629
commit
afe9b6744e
|
@ -289,6 +289,7 @@ public abstract class AbstractHANADialect extends Dialect {
|
||||||
CommonFunctionFactory.cosh( queryEngine );
|
CommonFunctionFactory.cosh( queryEngine );
|
||||||
CommonFunctionFactory.sinh( queryEngine );
|
CommonFunctionFactory.sinh( queryEngine );
|
||||||
CommonFunctionFactory.tanh( queryEngine );
|
CommonFunctionFactory.tanh( queryEngine );
|
||||||
|
CommonFunctionFactory.log10_log( queryEngine );
|
||||||
CommonFunctionFactory.bitand( queryEngine );
|
CommonFunctionFactory.bitand( queryEngine );
|
||||||
CommonFunctionFactory.hourMinuteSecond( queryEngine );
|
CommonFunctionFactory.hourMinuteSecond( queryEngine );
|
||||||
CommonFunctionFactory.yearMonthDay( queryEngine );
|
CommonFunctionFactory.yearMonthDay( queryEngine );
|
||||||
|
@ -1106,6 +1107,11 @@ public abstract class AbstractHANADialect extends Dialect {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String generatedAs(String generatedAs) {
|
||||||
|
return " generated always as (" + generatedAs + ")";
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isUseUnicodeStringTypes() {
|
public boolean isUseUnicodeStringTypes() {
|
||||||
return this.useUnicodeStringTypes;
|
return this.useUnicodeStringTypes;
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class CommonFunctionFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For Oracle
|
* For Oracle and HANA
|
||||||
*/
|
*/
|
||||||
public static void log10_log(QueryEngine queryEngine) {
|
public static void log10_log(QueryEngine queryEngine) {
|
||||||
queryEngine.getSqmFunctionRegistry().patternDescriptorBuilder( "log10", "log(10,?1)" )
|
queryEngine.getSqmFunctionRegistry().patternDescriptorBuilder( "log10", "log(10,?1)" )
|
||||||
|
|
Loading…
Reference in New Issue