Skip to content

Commit

Permalink
Enable all columns and remove problematic field
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengSashankh committed Apr 23, 2024
1 parent c5e9060 commit 3cb048c
Showing 1 changed file with 21 additions and 29 deletions.
50 changes: 21 additions & 29 deletions evadb/third_party/databases/reddit/table_column_info.py
Original file line number Diff line number Diff line change
@@ -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]
]

0 comments on commit 3cb048c

Please sign in to comment.