Hive
  1. Hive
  2. HIVE-3034

Implement [INCLUDE|EXCLUDE]_IF_SYS_PROP_DEFINED() test macro

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Carl Steinbach added a comment -

        If the system property "test_prop" is defined, then

        • Any qfile that contains INCLUDE_IF_SYS_PROP_DEFINED(test_prop) will be executed IFF test_prop is defined.
        • Any qfile that contains EXCLUDE_IF_SYS_PROP_DEFINED(test_prop) will be executed IFF test_prop is not defined.
        • These macros are mutually exclusive, i.e. any qfile that contains both macros will trigger an UnSupportedOperationException.
        Show
        Carl Steinbach added a comment - If the system property "test_prop" is defined, then Any qfile that contains INCLUDE_IF_SYS_PROP_DEFINED(test_prop) will be executed IFF test_prop is defined. Any qfile that contains EXCLUDE_IF_SYS_PROP_DEFINED(test_prop) will be executed IFF test_prop is not defined. These macros are mutually exclusive, i.e. any qfile that contains both macros will trigger an UnSupportedOperationException.

          People

          • Assignee:
            Unassigned
            Reporter:
            Carl Steinbach
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development