Files
impala/testdata/workloads/functional-query/queries/QueryTest
Michael Ho ed72910e96 IMPALA-6262: Always initialize runtime profile for DataSink
This change moves the creation of the runtime profile from DataSink::Prepare()
to the ctor of DataSink derived classes. This makes sure that DataSink::Close()
and other functions can access the profile even if the DataSink fails to initialize.

Testing done: Added a test case which triggers failure in the initialization of output
expressions in a HdfsTableSink. Impalad crashed consistently without the fix.

Change-Id: I2a683000ef180027b929dbebe78bc2a530a4767e
Reviewed-on: http://gerrit.cloudera.org:8080/8770
Reviewed-by: Michael Ho <kwho@cloudera.com>
Tested-by: Impala Public Jenkins
2017-12-07 09:47:09 +00:00
..
2016-02-19 00:03:15 -08:00
2017-05-22 00:40:04 +00:00
2014-01-08 10:48:09 -08:00
2014-06-20 13:35:10 -07:00