Bug 181880 Output column generated from Flat file is wrong
If I define a csv file, including a column which is Date type and has no value, after creating a dataset from this csv, output column of that column is wrong. Expected result is Date. Actual result is Any.
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/impl/ODAFactory.java
{
			return convertApiTypeToROMParameterType( apiDataType );
		}
		return null;
	}
	/**
	 * Checks whether the oda data type is compaible with rom data type.
	 * 
	 * @param romDataType
	 *            the rom data type in string
	 * @param odaDataTypeCode
	 *            the oda data type in integer
	 * @return <code>true</code> if they are compatible. Otherwise,
	 *         <code>false</code>.
	 * @throws BirtException
	 */
	private static boolean isCompatible( String romDataType, int odaDataTypeCode )
			throws BirtException
	{
		int apiDataType = DataTypeUtil.toApiDataType( odaDataTypeCode );
		if ( DataType.UNKNOWN_TYPE == apiDataType )
			return true;
		String convertedType = convertApiTypeToROMParameterType( apiDataType );
		if ( convertedType != null
				&& convertedType.equalsIgnoreCase( romDataType ) )
			return true;
		return false;
	}
}