[#1087] Change the NTILE function to return Field<Integer> instead of Field<BigDecimal>
This commit is contained in:
parent
073725ce0f
commit
9f2e02a8bf
@ -3750,8 +3750,8 @@ public class Factory implements FactoryOperations {
|
||||
* Sybase.
|
||||
*/
|
||||
@Support({ DB2, POSTGRES, ORACLE, SQLSERVER, SYBASE })
|
||||
public static WindowOverStep<BigDecimal> ntile(int number) {
|
||||
return new WindowFunction<BigDecimal>("ntile", SQLDataType.NUMERIC, field("" + number, Integer.class));
|
||||
public static WindowOverStep<Integer> ntile(int number) {
|
||||
return new WindowFunction<Integer>("ntile", SQLDataType.INTEGER, field("" + number, Integer.class));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user