Can we pass the column.getMaxLength() and column.getScale() here instead of column? I don't want PDataType to depend on schema stuff.