Bug 164764 Joint data set does not work properly using attached flatfile
The data set preview keep empty in joint data set. Step to reproduce: 1.Create two data sets based on attached flat file 2.Make an inner join using joint data set with key "A". 3.Preview data set in data set editor. Expect result: The data set preview correctly Actual result: The data set preview is empty.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/ScriptEvalUtil.java
{
				return DataTypeUtil.toDate( obj1 ).compareTo(
						DataTypeUtil.toDate( obj2 ) );
			}
			else
				throw new DataException( ResourceConstants.INVALID_TYPE_IN_EXPR );
		}
		catch ( BirtException e )
		{
			throw new DataException( ResourceConstants.DATATYPEUTIL_ERROR, e );
		}
	}
	
	/**
	 * @param resultObject
	 * @param resultOp1
	 * @param resultOp2
	 * @return true if resultObject is between resultOp1 and resultOp2, false otherwise
	 * @throws DataException
	 */
	private static boolean between( Object resultObject, Object resultOp1,
			Object resultOp2 ) throws DataException
	{
		Object min, max;
		if ( compare( resultOp1, resultOp2 ) <= 0 )
		{
			min = resultOp1;
			max = resultOp2;
		}
		else