databendlabs / databend

๐——๐—ฎ๐˜๐—ฎ, ๐—”๐—ป๐—ฎ๐—น๐˜†๐˜๐—ถ๐—ฐ๐˜€ & ๐—”๐—œ. Modern alternative to Snowflake. Cost-effective and simple for massive-scale analytics. https://databend.com
https://docs.databend.com
Other
7.71k stars 732 forks source link

feat: copy option 'pattern' support variable. #16525

Open youngsofun opened 20 hours ago

youngsofun commented 20 hours ago

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

select $1 from @data/csv/ (pattern => $pt, file_format=>'csv')
copy into t1 from @data/csv/ pattern= $pt file_format=(type=csv)

Tests

Type of change


This change isโ€‚Reviewable