Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-2289

BuildOutputRecord hits OutOfBoundary exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.3
    • None
    • None

    Description

      If a Sql job uses BuildOutputRecord having more than one parameter, the job will throw out OutOfBoundary exception when it performs the logic here in SamzaSqlScalarFunctionImpl. For example,

      BuildOutputRecord('identityUrn', GetSqlField(`__key__`, 'identityUrn'), 'groupId', GetNestedField(`__key__`, 'groupId')) 

      In the example above, "translatedOperands.size()" is 4, and "udfMethod.getParameters().length" is 1.

      BuildOutputRecordUdf was marked as "disableArgumentCheck = true", but the Argument validation seems still was performed.

      Attachments

        Issue Links

          Activity

            People

              atoomula Aditya Toomula
              atoomula Aditya Toomula
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m