But df.printschema () would return info of the DB table perfectly. When I want to preview the data in dataframe with methods like df.show (), df.take (), they return an error saying caused by: :. Viewed 4k times 1 I spent the whole day trying to solve the problem explained below. In relation to this exact reported error, I kept on changing the version of the below dependency and finally reached this, which was the latest version as at the time. Some of the documents suggested that dependency mismatch with other dependencies is key, like here. We are getting the below error, when we are trying to migrate to the srping version.Ĭaused by: : .()Lorg/springframework/core/metrics/ApplicationStartup Īt .PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:112) ~Īt .AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:746) ~Īt .AbstractApplicationContext.refresh(AbstractApplicationContext.java:564) ~Īt .nfigureAndRefreshWebApplicationContext(ContextLoader.java:401) ~Īt .ContextLoader.initWebApplicationContext(ContextLoader.java:292) ~Īt .ntextInitialized(ContextLoaderListener.java:103) ~Īt .(SecurePluginContextListener.java:357) ~Īt .(SecurePluginContextListener.java:164) ~Īt 0(Native Method) ~Īt (NativeMethodAccessorImpl.java:62) ~Īt (DelegatingMethodAccessorImpl.java:43) ~Īt .invoke(Method.java:498) ~Īt .(ServletContextListenerHotDeployListener.java:74) ~Īt .(ServletContextListenerHotDeployListener.java:37) ~Īny help will be appreciated, Thanks in advance. 1 I want to read data from Postgresql using JDBC and store it in pyspark dataframe. Ask Question Asked 6 years, 7 months ago. I had similar issue and tried possible solutions online but to no avail.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |