About 69,200 results
Open links in new tab
  1. 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, …

  2. How to Execute sql queries in Apache Spark - Stack Overflow

    Dec 12, 2020 · 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. …

  3. 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 …

  4. 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, …

  5. PySpark, Py4JJavaError, Caused by: java.io.EOFException

    Feb 6, 2024 · The reason should be related to the exchange of data between python and java, but at the moment it is completely unclear (to me) how to fix it, in spite of setting up all the usual …

  6. 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 …

  7. 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 …

  8. 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 …

  9. python - PySpark org.apache.spark.sql.AnalysisException: Table or …

    Jul 22, 2018 · PySpark org.apache.spark.sql.AnalysisException: Table or view not found: Asked 7 years, 2 months ago Modified 5 years, 4 months ago Viewed 21k times

  10. python - Updating a dataframe column in spark - Stack Overflow

    Looking at the new spark DataFrame API, it is unclear whether it is possible to modify dataframe columns. How would I go about changing a value in row x column y of a dataframe? In pandas …