repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q19/gpu_bdb_query_19_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q19/gpu_bdb_query_19_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q12/gpu_bdb_query_12.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q12/gpu_bdb_query_12_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q12/gpu_bdb_query_12_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q08/gpu_bdb_query_08.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q08/gpu_bdb_query_08_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q08/gpu_bdb_query_08_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q10/gpu_bdb_query_10_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q10/README.md
# Query 10 In this query, For all products, we extract sentences from its product reviews that contain positive or negative sentiment and display for each item the sentiment polarity of the extracted sentences (POS OR NEG) and the sentence and word in sentence leading to this classification.
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q10/gpu_bdb_query_10_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q10/gpu_bdb_query_10.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q13/gpu_bdb_query_13_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q13/gpu_bdb_query_13.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q13/gpu_bdb_query_13_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q30/gpu_bdb_query_30_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q30/gpu_bdb_query_30_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q30/gpu_bdb_query_30.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q05/gpu_bdb_query_05_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q05/gpu_bdb_query_05.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q05/gpu_bdb_query_05_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/load_test/gpu_bdb_load_test.py
from bdb_tools.utils import benchmark, gpubdb_argparser, run_query from bdb_tools.readers import build_reader import os, subprocess, math, time config = gpubdb_argparser() spark_schema_dir = f"{os.getcwd()}/spark_table_schemas/" # these tables have extra data produced by bigbench dataGen refresh_tables = [ "cus...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q01/gpu_bdb_query_01.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q01/gpu_bdb_query_01_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q01/gpu_bdb_query_01_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q11/README.md
# Query 11 In this query, for a given product, we measure the correlation of sentiments, including the number of reviews and average review ratings, on product monthly revenues within a given time frame.
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q11/gpu_bdb_query_11_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q11/gpu_bdb_query_11.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q11/gpu_bdb_query_11_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q15/gpu_bdb_query_15_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q15/gpu_bdb_query_15_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q15/gpu_bdb_query_15.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q28/gpu_bdb_query_28.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q28/README.md
# Query 28 In this query, we train a text classifier for online review sentiment classification (Positive, Negative, Neutral), using 90% of available reviews for training and the remaining 10% for testing. The classifier accuracy on testing data and classification result for the 10% testing data is displayed as foll...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q28/gpu_bdb_query_28_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q28/gpu_bdb_query_28_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q14/gpu_bdb_query_14.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q14/gpu_bdb_query_14_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q14/gpu_bdb_query_14_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q18/gpu_bdb_query_18_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q18/gpu_bdb_query_18_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q18/README.md
# Query 18 In this query, We identify the stores with flat or declining sales in 4 consecutive months and check if there are any negative reviews regarding these stores available online.
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q18/gpu_bdb_query_18.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q06/gpu_bdb_query_06.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q06/gpu_bdb_query_06_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q06/gpu_bdb_query_06_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q02/gpu_bdb_query_02_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q02/gpu_bdb_query_02_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q02/gpu_bdb_query_02.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q17/gpu_bdb_query_17_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q17/gpu_bdb_query_17.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q17/README.md
# Query 17 In this query, We find the ratio of items sold with and without promotions in a given month and year. Only items in certain categories sold to customers living in a specific time zone are considered.
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q17/gpu_bdb_query_17_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q22/gpu_bdb_query_22_dask_sql.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q22/gpu_bdb_query_22.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries
rapidsai_public_repos/gpu-bdb/gpu_bdb/queries/q22/gpu_bdb_query_22_sql.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q26_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q14_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q22_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q17_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q24_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q01_utils.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/merge_util.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q03_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q21_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q10_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q30_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q13_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q20_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/cupy_metrics.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q11_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/sessionization.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q08_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q04_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q23_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q28_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q07_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q27_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q29_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q27_bert_utils.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # Copyright (c) 2019-2020, BlazingSQL, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/text.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q16_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q15_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q27_get_review_sentence_utils.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q18_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q02_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/readers.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/__init__.py
# Copyright (c) 2020, NVIDIA CORPORATION.
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q05_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/utils.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q25_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q12_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q19_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/cluster_startup.py
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q09_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/bdb_tools/q06_utils.py
# # Copyright (c) 2019-2022, NVIDIA CORPORATION. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/cluster_configuration/cluster-startup.sh
#!/bin/bash ######################################################### ### Configuration to (possibly) tweak ### ######################################################### USERNAME=$(whoami) # Scheduler configuration for your machine or cluster SCHEDULER_PORT=${SCHEDULER_PORT:-8786} DASHBOARD_ADDRESS=${DASHBOARD_ADDRES...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/cluster_configuration/bsql-cluster-startup.sh
#IB, NVLINK, or TCP CLUSTER_MODE=$1 USERNAME=$(whoami) MAX_SYSTEM_MEMORY=$(free -m | awk '/^Mem:/{print $2}')M DEVICE_MEMORY_LIMIT="25GB" POOL_SIZE="30GB" # Fill in your environment name and conda path on each node GPU_BDB_HOME="/home/$USERNAME/shared/gpu-bdb" CONDA_ENV_NAME="rapids-gpu-bdb" CONDA_ENV_PATH="/home/$US...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/cluster_configuration/cluster-startup-slurm.sh
#!/bin/bash ######################################################### ### Configuration to (possibly) tweak ### ######################################################### USERNAME=$(whoami) # Logging and scratch space for your machine or cluster LOCAL_DIRECTORY=${LOCAL_DIRECTORY:-$HOME/dask-local-directory} SCHEDULER_...
0
rapidsai_public_repos/gpu-bdb/gpu_bdb
rapidsai_public_repos/gpu-bdb/gpu_bdb/benchmark_runner/wait.py
import os import sys import time import yaml from dask.distributed import Client config_file = sys.argv[1] with open(config_file) as fp: conf = yaml.safe_load(fp) expected_workers = int(os.environ.get("NUM_WORKERS", 16)) # use scheduler file path from global environment if none # supplied in configuration yaml...
0