Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24062

Combine all table constrains RDBMS calls in one SQL call

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Table consist of 6 different type of constrains namely PrimaryKey,ForeignKey,UniqueConstraint,NotNullConstraint,DefaultConstraint,CheckConstraint. All constrains has different SQL query to fetch the infromation from RDBMS. Which lead to 6 different RDBS call.

      Idea here is to have one complex query which fetch all the constrains information at once then filter the result set on the basis of constrains type.

      Attachments

        Issue Links

          Activity

            People

              ashish-kumar-sharma Ashish Sharma
              ashish-kumar-sharma Ashish Sharma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: