Details
- 
    
Bug
 - 
    Status: Closed (View Workflow)
 - 
    
Major
 - 
    Resolution: Fixed
 - 
    1.0.9
 - 
    None
 
- 
        2017-15, 2017-16, 2017-17
 
Description
If you do an INSERT...SELECT in 1.0 with a window function in the select it will fail with:
ERROR 1815 (HY000): Internal error: IDB-9029: Window function are only supported for Columnstore tables.
It appears that item_window_function.cc checks for THD::INFINIDB_CREATE_VTABLE and fails if we aren't in that state. We aren't in that state for INSERT...SELECT.