Fix NPE in FTPSource when getting schema and required values are macro

Description

Steps to reproduce error
- Set any of the following property to macro
- "type", "host", "path", "user", "password"
- Click On GetSchema


Code

  • GetLocation returns null if the above mentions values are set to macro

  • This causes NPE is getFileSystemProperties when doing getHadoopProperties on null

     

Release Notes

None

Attachments

3

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Priority

Created April 9, 2025 at 7:24 AM
Updated April 9, 2025 at 7:28 AM