Datasets:

Modalities:
Tabular
Text
Formats:
parquet
Libraries:
Datasets
Dask
License:
foursquarelabsadmin commited on
Commit
278460a
·
verified ·
1 Parent(s): 07de18f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +77 -78
README.md CHANGED
@@ -70,88 +70,87 @@ WHERE fsq_place_id IN (SELECT fsq_place_id FROM distinct_places)
70
  **Presto/Athena**
71
  ```sql Presto/Athena
72
  SELECT * FROM places
73
- WHERE arrays_overlap(fsq_category_ids, ARRAY['4bf58dd8d48988d1f0931735' -- Airport Gate
74
- '62d587aeda6648532de2b88c' -- Beer Festival
75
- '4bf58dd8d48988d12b951735' -- Bus Line
76
- '52f2ab2ebcbc57f1066b8b3b' -- Christmas Market
77
- '50aa9e094b90af0d42d5de0d' -- City
78
- '5267e4d9e4b0ec79466e48c6' -- Conference
79
- '5267e4d9e4b0ec79466e48c9' -- Convention
80
- '530e33ccbcbc57f1066bbff7' -- Country
81
- '5345731ebcbc57f1066c39b2' -- County
82
- '63be6904847c3692a84b9bb7' -- Entertainment Event
83
- '4d4b7105d754a06373d81259' -- Event
84
- '5267e4d9e4b0ec79466e48c7' -- Festival
85
- '4bf58dd8d48988d132951735' -- Hotel Pool
86
- '52f2ab2ebcbc57f1066b8b4c' -- Intersection
87
- '50aaa4314b90af0d42d5de10' -- Island
88
- '58daa1558bbb0b01f18ec1fa' -- Line
89
- '63be6904847c3692a84b9bb8' -- Marketplace
90
- '4f2a23984b9023bd5841ed2c' -- Moving Target
91
- '5267e4d9e4b0ec79466e48d1' -- Music Festival
92
- '4f2a25ac4b909258e854f55f' -- Neighborhood
93
- '5267e4d9e4b0ec79466e48c8' -- Other Event
94
- '52741d85e4b0d5d1e3c6a6d9' -- Parade
95
- '4bf58dd8d48988d1f7931735' -- Plane
96
- '4f4531504b9074f6e4fb0102' -- Platform
97
- '4cae28ecbf23941eb1190695' -- Polling Place
98
- '4bf58dd8d48988d1f9931735' -- Road
99
- '5bae9231bedf3950379f89c5' -- Sporting Event
100
- '530e33ccbcbc57f1066bbff8' -- State
101
- '530e33ccbcbc57f1066bbfe4' -- States and Municipalities
102
- '52f2ab2ebcbc57f1066b8b54' -- Stoop Sale
103
- '5267e4d8e4b0ec79466e48c5' -- Street Fair
104
- '53e0feef498e5aac066fd8a9' -- Street Food Gathering
105
- '4bf58dd8d48988d130951735' -- Taxi
106
- '530e33ccbcbc57f1066bbff3' -- Town
107
- '5bae9231bedf3950379f89c3' -- Trade Fair
108
- '4bf58dd8d48988d12a951735' -- Train
109
- '52e81612bcbc57f1066b7a24' -- Tree
110
- '530e33ccbcbc57f1066bbff9' -- Village
111
  ]) = false
112
  ```
113
  **SparkSQL**
114
  ```sql SparkSQL
115
- SELECT *
116
- FROM places
117
- WHERE arrays_overlap(fsq_category_ids, array('4bf58dd8d48988d1f0931735' -- Airport Gate
118
- '62d587aeda6648532de2b88c' -- Beer Festival
119
- '4bf58dd8d48988d12b951735' -- Bus Line
120
- '52f2ab2ebcbc57f1066b8b3b' -- Christmas Market
121
- '50aa9e094b90af0d42d5de0d' -- City
122
- '5267e4d9e4b0ec79466e48c6' -- Conference
123
- '5267e4d9e4b0ec79466e48c9' -- Convention
124
- '530e33ccbcbc57f1066bbff7' -- Country
125
- '5345731ebcbc57f1066c39b2' -- County
126
- '63be6904847c3692a84b9bb7' -- Entertainment Event
127
- '4d4b7105d754a06373d81259' -- Event
128
- '5267e4d9e4b0ec79466e48c7' -- Festival
129
- '4bf58dd8d48988d132951735' -- Hotel Pool
130
- '52f2ab2ebcbc57f1066b8b4c' -- Intersection
131
- '50aaa4314b90af0d42d5de10' -- Island
132
- '58daa1558bbb0b01f18ec1fa' -- Line
133
- '63be6904847c3692a84b9bb8' -- Marketplace
134
- '4f2a23984b9023bd5841ed2c' -- Moving Target
135
- '5267e4d9e4b0ec79466e48d1' -- Music Festival
136
- '4f2a25ac4b909258e854f55f' -- Neighborhood
137
- '5267e4d9e4b0ec79466e48c8' -- Other Event
138
- '52741d85e4b0d5d1e3c6a6d9' -- Parade
139
- '4bf58dd8d48988d1f7931735' -- Plane
140
- '4f4531504b9074f6e4fb0102' -- Platform
141
- '4cae28ecbf23941eb1190695' -- Polling Place
142
- '4bf58dd8d48988d1f9931735' -- Road
143
- '5bae9231bedf3950379f89c5' -- Sporting Event
144
- '530e33ccbcbc57f1066bbff8' -- State
145
- '530e33ccbcbc57f1066bbfe4' -- States and Municipalities
146
- '52f2ab2ebcbc57f1066b8b54' -- Stoop Sale
147
- '5267e4d8e4b0ec79466e48c5' -- Street Fair
148
- '53e0feef498e5aac066fd8a9' -- Street Food Gathering
149
- '4bf58dd8d48988d130951735' -- Taxi
150
- '530e33ccbcbc57f1066bbff3' -- Town
151
- '5bae9231bedf3950379f89c3' -- Trade Fair
152
- '4bf58dd8d48988d12a951735' -- Train
153
- '52e81612bcbc57f1066b7a24' -- Tree
154
- '530e33ccbcbc57f1066bbff9' -- Village
155
  )) = false
156
  ```
157
 
 
70
  **Presto/Athena**
71
  ```sql Presto/Athena
72
  SELECT * FROM places
73
+ WHERE arrays_overlap(fsq_category_ids, ARRAY['4bf58dd8d48988d1f0931735', -- Airport Gate
74
+ '62d587aeda6648532de2b88c', -- Beer Festival
75
+ '4bf58dd8d48988d12b951735', -- Bus Line
76
+ '52f2ab2ebcbc57f1066b8b3b', -- Christmas Market
77
+ '50aa9e094b90af0d42d5de0d', -- City
78
+ '5267e4d9e4b0ec79466e48c6', -- Conference
79
+ '5267e4d9e4b0ec79466e48c9', -- Convention
80
+ '530e33ccbcbc57f1066bbff7', -- Country
81
+ '5345731ebcbc57f1066c39b2', -- County
82
+ '63be6904847c3692a84b9bb7', -- Entertainment Event
83
+ '4d4b7105d754a06373d81259', -- Event
84
+ '5267e4d9e4b0ec79466e48c7', -- Festival
85
+ '4bf58dd8d48988d132951735', -- Hotel Pool
86
+ '52f2ab2ebcbc57f1066b8b4c', -- Intersection
87
+ '50aaa4314b90af0d42d5de10', -- Island
88
+ '58daa1558bbb0b01f18ec1fa', -- Line
89
+ '63be6904847c3692a84b9bb8', -- Marketplace
90
+ '4f2a23984b9023bd5841ed2c', -- Moving Target
91
+ '5267e4d9e4b0ec79466e48d1', -- Music Festival
92
+ '4f2a25ac4b909258e854f55f', -- Neighborhood
93
+ '5267e4d9e4b0ec79466e48c8', -- Other Event
94
+ '52741d85e4b0d5d1e3c6a6d9', -- Parade
95
+ '4bf58dd8d48988d1f7931735', -- Plane
96
+ '4f4531504b9074f6e4fb0102', -- Platform
97
+ '4cae28ecbf23941eb1190695', -- Polling Place
98
+ '4bf58dd8d48988d1f9931735', -- Road
99
+ '5bae9231bedf3950379f89c5', -- Sporting Event
100
+ '530e33ccbcbc57f1066bbff8', -- State
101
+ '530e33ccbcbc57f1066bbfe4', -- States and Municipalities
102
+ '52f2ab2ebcbc57f1066b8b54', -- Stoop Sale
103
+ '5267e4d8e4b0ec79466e48c5', -- Street Fair
104
+ '53e0feef498e5aac066fd8a9', -- Street Food Gathering
105
+ '4bf58dd8d48988d130951735', -- Taxi
106
+ '530e33ccbcbc57f1066bbff3', -- Town
107
+ '5bae9231bedf3950379f89c3', -- Trade Fair
108
+ '4bf58dd8d48988d12a951735', -- Train
109
+ '52e81612bcbc57f1066b7a24', -- Tree
110
+ '530e33ccbcbc57f1066bbff9', -- Village
111
  ]) = false
112
  ```
113
  **SparkSQL**
114
  ```sql SparkSQL
115
+ SELECT * FROM places
116
+ WHERE arrays_overlap(fsq_category_ids, array('4bf58dd8d48988d1f0931735', -- Airport Gate
117
+ '62d587aeda6648532de2b88c', -- Beer Festival
118
+ '4bf58dd8d48988d12b951735', -- Bus Line
119
+ '52f2ab2ebcbc57f1066b8b3b', -- Christmas Market
120
+ '50aa9e094b90af0d42d5de0d', -- City
121
+ '5267e4d9e4b0ec79466e48c6', -- Conference
122
+ '5267e4d9e4b0ec79466e48c9', -- Convention
123
+ '530e33ccbcbc57f1066bbff7', -- Country
124
+ '5345731ebcbc57f1066c39b2', -- County
125
+ '63be6904847c3692a84b9bb7', -- Entertainment Event
126
+ '4d4b7105d754a06373d81259', -- Event
127
+ '5267e4d9e4b0ec79466e48c7', -- Festival
128
+ '4bf58dd8d48988d132951735', -- Hotel Pool
129
+ '52f2ab2ebcbc57f1066b8b4c', -- Intersection
130
+ '50aaa4314b90af0d42d5de10', -- Island
131
+ '58daa1558bbb0b01f18ec1fa', -- Line
132
+ '63be6904847c3692a84b9bb8', -- Marketplace
133
+ '4f2a23984b9023bd5841ed2c', -- Moving Target
134
+ '5267e4d9e4b0ec79466e48d1', -- Music Festival
135
+ '4f2a25ac4b909258e854f55f', -- Neighborhood
136
+ '5267e4d9e4b0ec79466e48c8', -- Other Event
137
+ '52741d85e4b0d5d1e3c6a6d9', -- Parade
138
+ '4bf58dd8d48988d1f7931735', -- Plane
139
+ '4f4531504b9074f6e4fb0102', -- Platform
140
+ '4cae28ecbf23941eb1190695', -- Polling Place
141
+ '4bf58dd8d48988d1f9931735', -- Road
142
+ '5bae9231bedf3950379f89c5', -- Sporting Event
143
+ '530e33ccbcbc57f1066bbff8', -- State
144
+ '530e33ccbcbc57f1066bbfe4', -- States and Municipalities
145
+ '52f2ab2ebcbc57f1066b8b54', -- Stoop Sale
146
+ '5267e4d8e4b0ec79466e48c5', -- Street Fair
147
+ '53e0feef498e5aac066fd8a9', -- Street Food Gathering
148
+ '4bf58dd8d48988d130951735', -- Taxi
149
+ '530e33ccbcbc57f1066bbff3', -- Town
150
+ '5bae9231bedf3950379f89c3', -- Trade Fair
151
+ '4bf58dd8d48988d12a951735', -- Train
152
+ '52e81612bcbc57f1066b7a24', -- Tree
153
+ '530e33ccbcbc57f1066bbff9', -- Village
 
154
  )) = false
155
  ```
156