About 69,300 results
Open links in new tab
  1. How to Execute sql queries in Apache Spark - Stack Overflow

    Nov 28, 2016 · 0 Its rather simple now in spark to do SQL queries. You can do SQL on dataframes as pointed out by others but the questions is really how to do SQL. …

  2. apache spark sql - Pyspark in google colab - Stack Overflow

    Feb 3, 2023 · I am trying to use pyspark on google colab. Every tutorial follows a similar method !pip install pyspark # Import SparkSession from pyspark.sql import SparkSession # Create a …

  3. How to get day of week in Spark SQL? - Stack Overflow

    24 I am trying to select all the records recorded on Sunday using Spark SQL. I have unsuccessfully tried this: SELECT * FROM mytable WHERE DATEPART(WEEKDAY, …

  4. apache spark - Connecting Pyspark with Kafka - Stack Overflow

    Dec 16, 2021 · I'm having problem understanding how to connect Kafka and PySpark. I have kafka installation on Windows 10 with topic nicely streaming data. I've installed pyspark which …

  5. apache spark - Trino can't connect to Nessie - Stack Overflow

    Feb 19, 2024 · I notice the catalog URI says localhost, that would communicate with the same container running Trino not the container running Nessie. Are you using docker compose to …

  6. Different Methods for Creating EXTERNAL TABLES Using Spark …

    Jun 18, 2022 · 3 I believe I understand the basic difference between Managed and External tables in Spark SQL. Just for clarity, given below is how I would explain it. A managed table is a …

  7. How to write data to Apache Iceberg tables using Spark SQL?

    Dec 9, 2020 · I am trying to familiarize myself with Apache Iceberg and I'm having some trouble understanding how to write some external data to a table using Spark SQL. I have a file, …

  8. How apply a different timezone to a timestamp in PySpark

    Aug 27, 2021 · I tried to find a built-in Spark function for this, but gave up and ended up using a UDF. This was the only way I could find to make the time-zone correction while avoiding the …

  9. How to extend built-in aggregate function in Spark SQL (using …

    Aug 4, 2023 · The name refers to the static FunctionRegistry.builtin instance which houses all the normal spark sql functions - and what you need to use if you want to use the function in create …

  10. Fetch week start date and week end date from Date

    Jul 15, 2020 · 12 I need to fetch week start date and week end date from a given date, taking into account that the week starts from Sunday and ends on Saturday. I referred this post but this …