Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAWQ-1131. Fix error message difference between Orca and Planner #991

Closed
wants to merge 3 commits into from
Closed

Conversation

hsyuan
Copy link
Member

@hsyuan hsyuan commented Nov 1, 2016

  • In ORCA, due to the way exception handled previously we do warning first
    and then later print error referring that message. In this commit, we
    enhanced the exception handling so we just print a single error message.
  • Removed 'PQO unable to generate a plan' or 'Aborting PQO plan
    generation' message and make the error message as close as the planner.
  • Updated error message with filename and line number from where the exception
    is raised.
  • Updated regression test expected output files

Patches are ported the following commits from GPDB:
greenplum-db/gpdb@4eb5db7
greenplum-db/gpdb@d41ebde

Author: Karthikeyan Jambu Rajaraman karthi.jrk@gmail.com

karthijrk and others added 2 commits November 2, 2016 13:49
- In ORCA, due to the way exception handled previously we do warning first
and then later print error referring that message. In this commit, we
enhanced the exception handling so we just print a single error message.
- Removed 'PQO unable to generate a plan' or 'Aborting PQO plan
generation' message and make the error message as close as the planner.
- Updated error message with filename and line number from where the exception
is raised.
- Updated regression test expected output files

Patches are ported the following commits from GPDB:
greenplum-db/gpdb@4eb5db7
greenplum-db/gpdb@d41ebde

Author: Karthikeyan Jambu Rajaraman <karthi.jrk@gmail.com>
gporca has a set of banned API calls which needs to be allowed with the ALLOW_xxx
macro in order for gpopt to compile. But it should be the library caller (HAWQ)'s
responsibility to take care of the function call.
@paul-guo- paul-guo- mentioned this pull request Nov 2, 2016
@paul-guo-
Copy link
Contributor

+1

1 similar comment
@linwen
Copy link
Contributor

linwen commented Nov 2, 2016

+1

@hsyuan
Copy link
Member Author

hsyuan commented Nov 3, 2016

Pushed to master:
56b44f8
31ea7d0
fed12f1

@hsyuan hsyuan closed this Nov 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants