From 3cb048ce003af978a5aee2f4a4c1170b0550746c Mon Sep 17 00:00:00 2001 From: Sashankh Chengavalli Kumar Date: Tue, 23 Apr 2024 19:02:32 -0400 Subject: [PATCH] Enable all columns and remove problematic field --- .../databases/reddit/table_column_info.py | 50 ++++++++----------- 1 file changed, 21 insertions(+), 29 deletions(-) diff --git a/evadb/third_party/databases/reddit/table_column_info.py b/evadb/third_party/databases/reddit/table_column_info.py index b06f12638..088406458 100644 --- a/evadb/third_party/databases/reddit/table_column_info.py +++ b/evadb/third_party/databases/reddit/table_column_info.py @@ -1,35 +1,27 @@ from typing import Union -# SUBMISSION_COLUMNS = [ -# ["author", str], -# ["author_flair_text", Union[str, None]], -# ["clicked", bool], -# ["created_utc", str], -# ["distinguished", bool], -# ["edited", bool], -# ["id", str], -# ["is_original_content", bool], -# ["is_self", bool], -# ["link_flair_template_id", "str"], -# ["link_flair_text", Union[str, None]], -# ["locked", bool], -# ["name", str], -# ["num_comments", int], -# ["over_18", bool], -# ["permalink", str], -# ["saved", bool], -# ["score", float], -# ["selftext", str], -# ["spoiler", bool], -# ["stickied", bool], -# ["title", str], -# ["upvote_ratio", float], -# ["url", str] -# ] - - SUBMISSION_COLUMNS = [ ["author", str], + ["author_flair_text", Union[str, None]], + ["clicked", bool], + ["created_utc", str], + ["distinguished", bool], + ["edited", bool], + ["id", str], + ["is_original_content", bool], + ["is_self", bool], + ["link_flair_text", Union[str, None]], + ["locked", bool], + ["name", str], + ["num_comments", int], + ["over_18", bool], + ["permalink", str], + ["saved", bool], ["score", float], + ["selftext", str], + ["spoiler", bool], + ["stickied", bool], ["title", str], -] + ["upvote_ratio", float], + ["url", str] +] \ No newline at end of file