Update docs/en/sql-reference/dictionaries/index.md

Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
This commit is contained in:
Han Fei 2023-05-16 11:22:42 +02:00 committed by GitHub
parent ed5906f15d
commit a40d86b921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2268,7 +2268,7 @@ In this case, we match the regular expression `\d+/tclwebkit(?:\d+[\.\d]*)` in t
### Use RegExpTree Dictionary on cloud
We have shown how RegExpTree work in the local enviroument, but we cannot use `YAMLRegExpTree` on cloud. If we have a local yaml file, we can use this file to create RegExpTree Dictionary in the local enviroment, then dump this dictionary to a csv file by `dictionary` table function and [INTO OUTFILE](../../statements/select/into-outfile.md) clause.
We have shown how RegExpTree work in the local environment, but we cannot use `YAMLRegExpTree` in the cloud. If we have a local yaml file, we can use this file to create RegExpTree Dictionary in the local environment, then dump this dictionary to a csv file by the `dictionary` table function and [INTO OUTFILE](../../statements/select/into-outfile.md) clause.
```sql
select * from dictionary(regexp_dict) into outfile('regexp_dict.csv')