【求助】您好,请问ftpreader是否可将文件名读入
Open
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
在使用ftpreader读入到数据库中,碰到以下问题,
比如有以下三个csv文件,文件中的数据结构相同,目前可以通过ftpreader通配符的方式将三个csv的数据一次性读入到目标端的同一张表中,但无法区分数据来自哪一个文件。如果产品扩展到100个,这种问题将更加明显。
请问,能否支持在读入时将文件名和文件路径 读到目标端的一个列中。谢谢
/20231119/产品1_InvestmentPosition.csv
/20231119/产品2_InvestmentPosition.csv
/20231119/产品3_InvestmentPosition.csv
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the ftpreader entry point and its wildcard-based CSV reading flow, then inspect how source fields are mapped to target database columns. Done means wildcard imports can expose each source file's name and path in target columns while preserving the existing multi-file import behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100