Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently Schema's addColumn is this
```java
public synchronized Schema addColumn(String name, Type type) {
if (type == Type.CHAR)
return addColumn(name, CatalogUtil.newSimpleDataType(type));
}
```
I think it is better condition code into CatalogUtil.newSimpleDataType.
because some testcode make columns just using CatalogUtil.