# Limitations of TiDB Lightning

__*Lightning restrictions*__

+ If used with TiFlash
+ If the table's character set is GBK
+ If the source data is an Apache Parquet file

-------------------------------------------------------------
Note when using TiDB Lightning with TiFlash:
Whether you've created a TiFlash replica of a table or not, you can use TiDB Lightning to import data into that table. However, in this scenario, TiDB Lightning takes longer to import data, depending on factors such as the network card bandwidth of the TiDB Lightning deployment machine, the CPU and disk load of the TiFlash node, and the number of TiFlash replicas.

TiDB Lightning needs to be aware of when using TiDB with TiDB:
TiDB Lightning did not support importing tables with charset=GBK before v5.4.0.

If the source data is an Apache Parquet file, TiDB Lightning currently only supports Apache Parquet files generated by Amazon Aurora.