evadb.EvaDBCursor.load#

EvaDBCursor.load(file_regex: str, table_name: str, format: str, **kwargs) EvaDBQuery[source]#

Loads data from files into a table.

Parameters:
  • file_regex (str) – Regular expression specifying the files to load.

  • table_name (str) – Name of the table.

  • format (str) – File format of the data.

  • **kwargs – Additional keyword arguments for configuring the load operation.

Returns:

The EvaDBQuery object representing the load query.

Return type:

EvaDBQuery

Examples

Load the online_video.mp4 file into table named ‘youtube_video’.

>>> conn.load("online_video.mp4", "youtube_video", "video")