pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.41k stars 5.85k forks source link

Add LOAD_FILE() function #8436

Open morgo opened 6 years ago

morgo commented 6 years ago

Feature Request

Is your feature request related to a problem? Please describe:

Not a high priority, but apart from SOUNDEX() the LOAD_FILE function is the only string function not supported by TiDB.

In MySQL it is rarely used because of security implications.

Describe the feature you'd like:

LOAD_FILE as in MySQL 5.7: https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_load-file

Describe alternatives you've considered:

The alternative is to document as won't support.

Teachability, Documentation, Adoption, Migration Strategy:

breezewish commented 5 years ago

LOAD_FILE is used in RQG to generate blob payload.