Bug 361443 Excel ODA
data/org.eclipse.birt.report.data.oda.excel/src/org/eclipse/birt/report/data/oda/excel/impl/ExcelFileQuery.java
String tableName) throws OdaException {
        
        
		ExcelFileSource excelFileSource = new ExcelFileSource(
				this.connProperties, tableName, worksheetNames,
				maxRowsToRead, null, null, appContext);
		try {
			if (!(metaDataType.trim().equalsIgnoreCase(NAME_LITERAL) || metaDataType
					.trim().equalsIgnoreCase(TYPE_LITERAL)))
				throw new OdaException(
						Messages.getString("query_ARGUMENT_ERROR")); 
			
			
			if (metaDataType.trim().equalsIgnoreCase(TYPE_LITERAL)) {
				while (excelFileSource.isEmptyRow(excelFileSource.readLine()))
					continue;
			}
			
			List<String> columnNameLine;
			while (excelFileSource.isEmptyRow(columnNameLine = excelFileSource
					.readLine()))
				continue;
			String[] result = excelFileSource
					.getColumnNameArray(columnNameLine);
			if (metaDataType.trim().equalsIgnoreCase(NAME_LITERAL))
				this.validateUniqueName(result);
			if (metaDataType.trim().equalsIgnoreCase(TYPE_LITERAL))
				validateColumnTypeConsistency(result);
			return trimStringArray(result);
		} catch (IOException e) {