v.22.3Bug Fix

Schema Inference Issue with INSERT INTO FUNCTION from S3

Schema inference didn't work properly on case of INSERT INTO FUNCTION s3(...) FROM ..., it tried to read schema from s3 file instead of from select query. #35176 (Kruglov Pavel).