Currently executing queries like: 

```
SELECT * FROM system.tables LIMIT 10;\G 
SELECT * FROM system.tables LIMIT 10\G;
```

Ends up with a syntax error.

From the documentation, it should not be an error:

> You can specify \G instead of or after the semicolon.


{
            auto metadata = storage->getInMemoryMetadataPtr(
            sendDataFromPipe(
                storage->read(
                        sample.getNames(),
                        storage->getStorageSnapshot(metadata, global_context),
                        query_info,
                        global_context,
                        {},
                        global_context->getSettingsRef().max_block_size,
                        getNumberOfPhysicalCPUCores()
                    ),
                parsed_query
            
        }
        catch (Exception & e)
        {
            e.addMessage("data for INSERT was parsed from file"
            throw;
        }
    }
    else if (parsed_insert_query->data)
    {
        /// Send data contained in the query.
        ReadBufferFromMemory data_in(parsed_insert_query->data, parsed_insert_query->end - parsed_insert_query->data
        try
        {
            sendDataFrom(data_in, sample, columns_description_for_query, parsed_query
        }
        catch (Exception & e)