Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1114

Improve ConfVars (SessionVar) to take a validator interface to check its input.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None

      Description

      Each task uses session variables from client or configs from tajo-site.xml. The session variables and configs are used in task during query processing.

      If invalid configs or invalid session variables are used for a query, the error will be caused in a runtime instead of query init phase. It's bad situation. Invalid values must be detected at the initialization phase.

      Because each session variable or config varies in its value type and value range, It would be great if each ConfigKey takes a validator for its value and Tajo uses validators for it.

        Attachments

          Activity

            People

            • Assignee:
              ykrips Jihun Kang
              Reporter:
              hyunsik Hyunsik Choi
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: