Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-10128

GetSchema for aggregator doesn't fail if there are duplicate names

    Details

    • Sprint:
      App Eng Sprint 2
    • Release Notes:
      GetSchema for aggregator now fails if there are duplicate names
    • Rank:
      1|hzyqo7:

      Description

      Getting schema for the following configuration results in in-correct output schema:
      groupBy: gender
      Aggregate: Count(gender) as gender

      This returns a schema with gender as the key and long as the value. This will result in a run-time error. We should flag an error while getting schema instead.

        Attachments

          Activity

            People

            • Assignee:
              shashank Shashank
              Reporter:
              sree Sreevatsan Raman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: