Python Forum
SQL Error Message with PySpark
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SQL Error Message with PySpark
#5
Hi community,

I figured it out myself. The following worked fine.

results5 = spark.sql("SELECT \
appl_stock.Open \
,appl_stock.Close \
FROM appl_stock \
WHERE appl_stock.Close < 500")
Reply


Messages In This Thread
SQL Error Message with PySpark - by cpatte7372 - Jul-25-2018, 10:10 PM
RE: SQL Error Message with PySpark - by cpatte7372 - Jul-26-2018, 07:38 AM
RE: SQL Error Message with PySpark - by cpatte7372 - Jul-26-2018, 08:51 AM
RE: SQL Error Message with PySpark - by Larz60+ - Jul-26-2018, 09:36 AM
RE: SQL Error Message with PySpark - by cpatte7372 - Jul-28-2018, 12:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error message about iid from RandomizedSearchCV Visiting 2 1,055 Aug-17-2023, 07:53 PM
Last Post: Visiting
  PySpark Coding Challenge cpatte7372 4 6,175 Jun-25-2023, 12:56 PM
Last Post: prajwal_0078
  Pyspark dataframe siddhi1919 3 1,267 Apr-25-2023, 12:39 PM
Last Post: snippsat
  Another Error message. the_jl_zone 2 1,011 Mar-06-2023, 10:23 PM
Last Post: the_jl_zone
  pyspark help lokesh 0 779 Jan-03-2023, 04:34 PM
Last Post: lokesh
  Mysql error message: Lost connection to MySQL server during query tomtom 6 16,319 Feb-09-2022, 09:55 AM
Last Post: ibreeden
  How to iterate Groupby in Python/PySpark DrData82 2 2,917 Feb-05-2022, 09:59 PM
Last Post: DrData82
  PySpark Equivalent Code cpatte7372 0 1,288 Jan-14-2022, 08:59 PM
Last Post: cpatte7372
  Pyspark - my code works but I want to make it better Kevin 1 1,820 Dec-01-2021, 05:04 AM
Last Post: Kevin
  understanding error message krlosbatist 1 1,942 Oct-24-2021, 08:34 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020