-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Nov 14, 2023
1 parent
f4c0e30
commit b8bae16
Showing
3 changed files
with
0 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
<<<<<<< HEAD | ||
SELECT arrow_typeof(tpep_pickup_datetime::date) as day, | ||
"PULocationID" as location, | ||
count(*) as trips, | ||
sum(fare_amount) + sum(mta_tax) + sum(tolls_amount) + sum(tip_amount) as revenue | ||
FROM 'yellow_tripdata_2023-01.parquet' | ||
======= | ||
SELECT TO_DATE(tpep_pickup_datetime::date) as day, | ||
PULocationID as location, | ||
count(*) as trips, | ||
sum(fare_amount) + sum(mta_tax) + sum(tolls_amount) + sum(tip_amount) as revenue | ||
FROM 'https://d37ci6vzurychx.cloudfront.net/trip-data/yellow_tripdata_2023-01.parquet' | ||
>>>>>>> 669ad86a96dfcc208bb27d08e44dfe51ee4c7fb9 | ||
WHERE trip_distance > 5 | ||
GROUP BY tpep_pickup_datetime, location | ||
ORDER BY day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters