Update query to add new attribute and its value in existing document

There is no array in your document.

UPDATE `gamesim-sample` AS g
SET g.gal_id = $inputcsv.[g.experience];

It is called named parameters. Check based on SDK how to set named parameters

cbq shell Mastering the Couchbase N1QL Shell: Scripting - DZone