Added parallel query segment parsing support