| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| |
| <meta name="copyright" content="(C) Copyright 2023" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2023" /> |
| <meta name="DC.Type" content="concept" /> |
| <meta name="DC.Title" content="UTF8_MODE Query Option" /> |
| <meta name="DC.Relation" scheme="URI" content="../topics/impala_set.html" /> |
| <meta name="prodname" content="Impala" /> |
| <meta name="version" content="Impala 3.4.x" /> |
| <meta name="DC.Format" content="XHTML" /> |
| <meta name="DC.Identifier" content="utf8_mode" /> |
| <link rel="stylesheet" type="text/css" href="../commonltr.css" /> |
| <title>UTF8_MODE Query Option</title> |
| </head> |
| <body id="utf8_mode"> |
| |
| |
| <h1 class="title topictitle1" id="ariaid-title1">UTF8_MODE Query Option</h1> |
| |
| |
| |
| |
| <div class="body conbody"> |
| <p class="p"> |
| UTF-8 support allows string |
| functions to recognize the UTF-8 characters, thus processing strings in a compatible way as other |
| engines.</p> |
| |
| <p class="p">You can use the new query option, UTF8_MODE, to turn on/off the UTF-8 aware behavior. The query |
| option can be set globally, or at per session level. Only queries with UTF8_MODE=true will have |
| UTF-8 aware behaviors. If the query option UTF8_MODE is turned on globally, existing queries that |
| depend on the original binary behavior need to be explicitly set to UTF8_MODE=false.</p> |
| |
| |
| <p class="p"><strong class="ph b">Type:</strong>BOOLEAN</p> |
| |
| <p class="p"><strong class="ph b">Default:</strong>FALSE</p> |
| |
| <p class="p"><strong class="ph b">Added in:</strong>Impala 4.1</p> |
| |
| <p class="p"> |
| <strong class="ph b">Related information:</strong> |
| </p> |
| |
| <p class="p"> |
| <a class="xref" href="impala_string.html">STRING Data Type</a>, |
| <a class="xref" href="impala_utf_8.html">UTF-8 Support</a> |
| </p> |
| |
| </div> |
| |
| <div class="related-links"> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_set.html">SET Statement</a></div> |
| </div> |
| </div></body> |
| </html> |