File tree Expand file tree Collapse file tree 1 file changed +21
-29
lines changed
evadb/third_party/databases/reddit Expand file tree Collapse file tree 1 file changed +21
-29
lines changed Original file line number Diff line number Diff line change 1
1
from typing import Union
2
2
3
- # SUBMISSION_COLUMNS = [
4
- # ["author", str],
5
- # ["author_flair_text", Union[str, None]],
6
- # ["clicked", bool],
7
- # ["created_utc", str],
8
- # ["distinguished", bool],
9
- # ["edited", bool],
10
- # ["id", str],
11
- # ["is_original_content", bool],
12
- # ["is_self", bool],
13
- # ["link_flair_template_id", "str"],
14
- # ["link_flair_text", Union[str, None]],
15
- # ["locked", bool],
16
- # ["name", str],
17
- # ["num_comments", int],
18
- # ["over_18", bool],
19
- # ["permalink", str],
20
- # ["saved", bool],
21
- # ["score", float],
22
- # ["selftext", str],
23
- # ["spoiler", bool],
24
- # ["stickied", bool],
25
- # ["title", str],
26
- # ["upvote_ratio", float],
27
- # ["url", str]
28
- # ]
29
-
30
-
31
3
SUBMISSION_COLUMNS = [
32
4
["author" , str ],
5
+ ["author_flair_text" , Union [str , None ]],
6
+ ["clicked" , bool ],
7
+ ["created_utc" , str ],
8
+ ["distinguished" , bool ],
9
+ ["edited" , bool ],
10
+ ["id" , str ],
11
+ ["is_original_content" , bool ],
12
+ ["is_self" , bool ],
13
+ ["link_flair_text" , Union [str , None ]],
14
+ ["locked" , bool ],
15
+ ["name" , str ],
16
+ ["num_comments" , int ],
17
+ ["over_18" , bool ],
18
+ ["permalink" , str ],
19
+ ["saved" , bool ],
33
20
["score" , float ],
21
+ ["selftext" , str ],
22
+ ["spoiler" , bool ],
23
+ ["stickied" , bool ],
34
24
["title" , str ],
35
- ]
25
+ ["upvote_ratio" , float ],
26
+ ["url" , str ]
27
+ ]
You can’t perform that action at this time.
0 commit comments