| <?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="PARQUET_FALLBACK_SCHEMA_RESOLUTION Query Option (Impala 2.6 or higher only)" /> |
| <meta name="DC.Relation" scheme="URI" content="../topics/impala_query_options.html" /> |
| <meta name="prodname" content="Impala" /> |
| <meta name="prodname" content="Impala" /> |
| <meta name="version" content="Impala 3.4.x" /> |
| <meta name="version" content="Impala 3.4.x" /> |
| <meta name="DC.Format" content="XHTML" /> |
| <meta name="DC.Identifier" content="parquet_fallback_schema_resolution" /> |
| <link rel="stylesheet" type="text/css" href="../commonltr.css" /> |
| <title>PARQUET_FALLBACK_SCHEMA_RESOLUTION Query Option (Impala 2.6 or higher only)</title> |
| </head> |
| <body id="parquet_fallback_schema_resolution"> |
| |
| |
| <h1 class="title topictitle1" id="ariaid-title1">PARQUET_FALLBACK_SCHEMA_RESOLUTION Query Option (<span class="keyword">Impala 2.6</span> or higher only)</h1> |
| |
| |
| |
| |
| <div class="body conbody"> |
| |
| <div class="p"> |
| |
| The <code class="ph codeph">PARQUET_FALLBACK_SCHEMA_RESOLUTION</code> query option allows Impala to look |
| up columns within Parquet files by column name, rather than column order, |
| when necessary. |
| The allowed values are: |
| <ul class="ul"> |
| <li class="li"> |
| POSITION (0) |
| </li> |
| |
| <li class="li"> |
| NAME (1) |
| </li> |
| |
| </ul> |
| |
| </div> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Usage notes:</strong> |
| </p> |
| |
| <p class="p"> |
| By default, Impala looks up columns within a Parquet file based on |
| the order of columns in the table. |
| The <code class="ph codeph">name</code> setting for this option enables behavior for |
| Impala queries similar to the Hive setting <code class="ph codeph">parquet.column.index access=false</code>. |
| It also allows Impala to query Parquet files created by Hive with the |
| <code class="ph codeph">parquet.column.index.access=false</code> setting in effect. |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Type:</strong> integer or string |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Added in:</strong> <span class="keyword">Impala 2.6.0</span> |
| </p> |
| |
| |
| <p class="p"> |
| <strong class="ph b">Related information:</strong> |
| </p> |
| |
| <p class="p"> |
| <a class="xref" href="impala_parquet.html#parquet_schema_evolution">Schema Evolution for Parquet Tables</a> |
| </p> |
| |
| |
| </div> |
| |
| <div class="related-links"> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <a class="link" href="../topics/impala_query_options.html">Query Options for the SET Statement</a></div> |
| </div> |
| </div></body> |
| </html> |