Python Forum
Pyspark SQL Error - mismatched input 'FROM' expecting <EOF>
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyspark SQL Error - mismatched input 'FROM' expecting <EOF>
#2
That is really weird. Could you try it with a simpler query?
The only thing that strikes me is that there are two pairs of single quotes around the year-month: ''202002''. That is not correct but it does not explain the error you get.
Ariean likes this post
Reply


Messages In This Thread
RE: Pyspark SQL Error - mismatched input 'FROM' expecting <EOF> - by ibreeden - Nov-20-2020, 01:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PySpark Coding Challenge cpatte7372 4 6,051 Jun-25-2023, 12:56 PM
Last Post: prajwal_0078
  Pyspark dataframe siddhi1919 3 1,213 Apr-25-2023, 12:39 PM
Last Post: snippsat
  pyspark help lokesh 0 752 Jan-03-2023, 04:34 PM
Last Post: lokesh
  Error in Using INPUT statement gunwaba 1 2,061 Jul-03-2022, 10:22 PM
Last Post: deanhystad
  JSONDecodeError: Expecting value mehtamonita 1 1,505 Mar-07-2022, 04:24 PM
Last Post: bowlofred
  How to iterate Groupby in Python/PySpark DrData82 2 2,794 Feb-05-2022, 09:59 PM
Last Post: DrData82
  PySpark Equivalent Code cpatte7372 0 1,249 Jan-14-2022, 08:59 PM
Last Post: cpatte7372
  Pyspark - my code works but I want to make it better Kevin 1 1,773 Dec-01-2021, 05:04 AM
Last Post: Kevin
  pyspark parallel write operation not working aliyesami 1 1,681 Oct-16-2021, 05:18 PM
Last Post: aliyesami
  pyspark creating temp files in /tmp folder aliyesami 1 4,943 Oct-16-2021, 05:15 PM
Last Post: aliyesami

Forum Jump:

User Panel Messages

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