minzhang2110 opened a new pull request #12092:
URL: https://github.com/apache/incubator-superset/pull/12092


   File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in 
wsgi_app
       response = self.full_dispatch_request()
     File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in 
full_dispatch_request
       rv = self.handle_user_exception(e)
     File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in 
handle_user_exception
       reraise(exc_type, exc_value, tb)
     File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, 
in reraise
       raise value
     File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in 
full_dispatch_request
       rv = self.dispatch_request()
     File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in 
dispatch_request
       return self.view_functions[rule.endpoint](**req.view_args)
     File 
"/usr/local/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py",
 line 109, in wraps
       return f(self, *args, **kwargs)
     File "/app/superset/utils/log.py", line 164, in wrapper
       value = f(*args, **kwargs)
     File "/app/superset/views/core.py", line 2037, in extra_table_metadata
       mydb, table_name, parsed_schema
     File "/app/superset/db_engine_specs/presto.py", line 734, in 
extra_table_metadata
       table_name, schema_name, database, show_first=True
     File "/usr/local/lib/python3.7/site-packages/flask_caching/__init__.py", 
line 907, in decorated_function
       rv = f(*args, **kwargs)
     File "/app/superset/db_engine_specs/presto.py", line 977, in 
latest_partition
       return column_names, cls._latest_partition_from_df(df)
     File "/app/superset/db_engine_specs/hive.py", line 435, in 
_latest_partition_from_df
       return [df.ix[:, 0].max().split("=")[1]]
     File "/usr/local/lib/python3.7/site-packages/pandas/core/generic.py", line 
5139, in __getattr__
       return object.__getattribute__(self, name)
   AttributeError: 'DataFrame' object has no attribute 'ix'
   
   ### SUMMARY
   <!--- Describe the change below, including rationale and design decisions -->
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <!--- Skip this if not applicable -->
   
   ### TEST PLAN
   <!--- What steps should be taken to verify the changes -->
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Changes UI
   - [ ] Requires DB Migration.
   - [ ] Confirm DB Migration upgrade and downgrade tested.
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to