<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Natural key issue in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Natural-key-issue/m-p/103009#M18232</link>
    <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the list of exports for a given qtree using the actual_path.&amp;nbsp; I've got a query that runs fine in Toad, but doesn't run in WFA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp; nfs_export.actual_path AS 'actual_path',&lt;BR /&gt;&amp;nbsp; export_path,&lt;BR /&gt;&amp;nbsp; qtree_id,&lt;BR /&gt;&amp;nbsp; ro_hosts,&lt;BR /&gt;&amp;nbsp; rw_hosts,&lt;BR /&gt;&amp;nbsp; root_hosts,&lt;BR /&gt;&amp;nbsp; vfiler.name AS 'vfiler.name',&lt;BR /&gt;&amp;nbsp; vfiler.ip_address,&lt;BR /&gt;&amp;nbsp; array.ip&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp; storage.nfs_export&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp; storage.qtree ON qtree.id = storage.nfs_export.qtree_id&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp; storage.vfiler ON vfiler.id = storage.nfs_export.vfiler_id&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp; storage.array ON array.id = storage.nfs_export.array_id&lt;BR /&gt;WHERE&lt;BR /&gt;&amp;nbsp; export_path = ${qtree_path}&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My error in WFA is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filter 'Filter exports by qtree' returned attributes does not contain all natural keys. Filter's returned attributes '[actual_path, export_path, ip, ip_address, qtree_id, ro_hosts, root_hosts, rw_hosts, vfiler.name]' , dictionary entry natural keys '[vfiler.name, export_path, vfiler.array.ip]'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I THINK I'm just missing vfiler.array.ip, but I can't figure out how to add it.&amp;nbsp; I tried adding it to vfiler.ip_address, but then I get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to execute filter 'Filter exports by qtree' with parameters: {qtree_path=/vol/rogertest_nfs_20150324142302/rogertest_000}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me out?&amp;nbsp; Also, why do queries work in Toad and then fail in WFA?&amp;nbsp; Does Toad not care about the natural keys?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jun 2025 04:37:07 GMT</pubDate>
    <dc:creator>rogerhinson</dc:creator>
    <dc:date>2025-06-05T04:37:07Z</dc:date>
    <item>
      <title>Natural key issue</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Natural-key-issue/m-p/103009#M18232</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to get the list of exports for a given qtree using the actual_path.&amp;nbsp; I've got a query that runs fine in Toad, but doesn't run in WFA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp; nfs_export.actual_path AS 'actual_path',&lt;BR /&gt;&amp;nbsp; export_path,&lt;BR /&gt;&amp;nbsp; qtree_id,&lt;BR /&gt;&amp;nbsp; ro_hosts,&lt;BR /&gt;&amp;nbsp; rw_hosts,&lt;BR /&gt;&amp;nbsp; root_hosts,&lt;BR /&gt;&amp;nbsp; vfiler.name AS 'vfiler.name',&lt;BR /&gt;&amp;nbsp; vfiler.ip_address,&lt;BR /&gt;&amp;nbsp; array.ip&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp; storage.nfs_export&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp; storage.qtree ON qtree.id = storage.nfs_export.qtree_id&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp; storage.vfiler ON vfiler.id = storage.nfs_export.vfiler_id&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp; storage.array ON array.id = storage.nfs_export.array_id&lt;BR /&gt;WHERE&lt;BR /&gt;&amp;nbsp; export_path = ${qtree_path}&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My error in WFA is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Filter 'Filter exports by qtree' returned attributes does not contain all natural keys. Filter's returned attributes '[actual_path, export_path, ip, ip_address, qtree_id, ro_hosts, root_hosts, rw_hosts, vfiler.name]' , dictionary entry natural keys '[vfiler.name, export_path, vfiler.array.ip]'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I THINK I'm just missing vfiler.array.ip, but I can't figure out how to add it.&amp;nbsp; I tried adding it to vfiler.ip_address, but then I get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to execute filter 'Filter exports by qtree' with parameters: {qtree_path=/vol/rogertest_nfs_20150324142302/rogertest_000}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me out?&amp;nbsp; Also, why do queries work in Toad and then fail in WFA?&amp;nbsp; Does Toad not care about the natural keys?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Roger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:37:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Natural-key-issue/m-p/103009#M18232</guid>
      <dc:creator>rogerhinson</dc:creator>
      <dc:date>2025-06-05T04:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Natural key issue</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Natural-key-issue/m-p/103012#M18235</link>
      <description>&lt;P&gt;Nevermind..&amp;nbsp; I forgot quotes around my variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the working filter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; nfs_export.actual_path AS 'actual_path',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; export_path,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ro_hosts,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rw_hosts,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; root_hosts,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vfiler.name AS 'vfiler.name',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; array.ip AS 'vfiler.array.ip'&lt;BR /&gt;FROM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.nfs_export&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.qtree&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON qtree.id = nfs_export.qtree_id&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.vfiler&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON vfiler.id = nfs_export.vfiler_id&lt;BR /&gt;LEFT JOIN&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; storage.array&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON array.id = nfs_export.array_id&lt;BR /&gt;WHERE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; export_path = "${qtree_path}"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2015 01:16:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Natural-key-issue/m-p/103012#M18235</guid>
      <dc:creator>rogerhinson</dc:creator>
      <dc:date>2015-04-10T01:16:37Z</dc:date>
    </item>
  </channel>
</rss>

