Refer to the below code used to escape the delimiter in the values:
CREATE TABLE <table format>
ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde'
WITH SERDEPROPERTIES
( "separatorChar" = ",", 
"quoteChar" = "'", 
"escapeChar" = "\\" ) 
STORED AS TEXTFILE;