Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3504

Spark integration doesn't work with decimal columns that are using default precision

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.8.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Not sure when this issue was introduced and whether this code was working well before, but in PhoenixRDD.phoenixTypeToCatalystType for decimal precision we have a check
      (columnInfo.getPrecision < 0)
      which is fail for decimal columns that were created with default precision and scale because precision is null in this case.

        Attachments

          Activity

            People

            • Assignee:
              sergey.soldatov Sergey Soldatov
              Reporter:
              sergey.soldatov Sergey Soldatov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: