Bug 131011 Support running query based on report document data
Data Engine should support running a query based on data set and expression data stored in a report document. This bugzilla entry serves as a repository for design docs and notes related to this feature.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDLoad.java
throw new DataException( ResourceConstants.RD_SAVE_ERROR, e );
		}
	}
	
	/**
	 * @throws DataException
	 */
	private void loadTransform( ) throws DataException
	{
		InputStream inputStream = context.getInputStream( queryResultID,
				subQueryID,
				DataEngineContext.TRANSFORM_INFO_STREAM );
		BufferedInputStream bis = new BufferedInputStream( inputStream );
		IBaseQueryDefinition queryDefn = TransformUtil.loadBaseQuery( bis );
		System.out.println( queryDefn );
		try
		{
			bis.close( );
			inputStream.close( );
		}
		catch ( IOException e )
		{
			throw new DataException( ResourceConstants.RD_SAVE_ERROR, e );
		}
	}
	
	/**
	 * @return
	 * @throws DataException
	 */