Github user nonstop-qfchen commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/144#discussion_r42894238
--- Diff: core/sql/optimizer/ScanOptimizer.cpp ---
@@ -8590,6 +8595,7 @@ void MDAMCostWA::compute()
// // invalidate the cache
// disjunctsFR_.reset();
// disjunctsLR_.reset();
+ MDAM_DEBUG0(MTL2, "Mdam scan lost due to exceeding cost bound");
--- End diff --
Yes, these debug messages can help with narrow down the problem quickly.
On Fri, Oct 23, 2015 at 12:48 PM, DaveBirdsall <[email protected]>
wrote:
> In core/sql/optimizer/ScanOptimizer.cpp
>
<https://github.com/apache/incubator-trafodion/pull/144#discussion_r42893715>
> :
>
> > @@ -8590,6 +8595,7 @@ void MDAMCostWA::compute()
> > // // invalidate the cache
> > // disjunctsFR_.reset();
> > // disjunctsLR_.reset();
> > + MDAM_DEBUG0(MTL2, "Mdam scan lost due to exceeding cost
bound");
>
> I LOVE this kind of debugging aid.
>
> â
> Reply to this email directly or view it on GitHub
> <https://github.com/apache/incubator-trafodion/pull/144/files#r42893715>.
>
--
Regards, --Qifan
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---