<?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 How to read feature table without target_df / online inference based on filter_condition in databricks feature store in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13262#M7973</link>
    <description>&lt;P&gt;I'm using databricks feature store == 0.6.1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I register my feature table with `create_feature_table` and write data with `write_Table` I want to read that feature_table based on filter conditions ( may be on time stamp column ) without calling `create_training_set` would like to this for both training and batch inference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found `read_table` function to accomplish this, but not sure how to provide filter conditions in its function call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, I'd also like to read a single feature row from online store as well, by passing some entity keys; I couldn't find any documentation for reads from offline and online store, related to my use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. Thanks.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 17:14:55 GMT</pubDate>
    <dc:creator>AmithAdiraju16</dc:creator>
    <dc:date>2023-01-06T17:14:55Z</dc:date>
    <item>
      <title>How to read feature table without target_df / online inference based on filter_condition in databricks feature store</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13262#M7973</link>
      <description>&lt;P&gt;I'm using databricks feature store == 0.6.1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I register my feature table with `create_feature_table` and write data with `write_Table` I want to read that feature_table based on filter conditions ( may be on time stamp column ) without calling `create_training_set` would like to this for both training and batch inference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found `read_table` function to accomplish this, but not sure how to provide filter conditions in its function call. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally, I'd also like to read a single feature row from online store as well, by passing some entity keys; I couldn't find any documentation for reads from offline and online store, related to my use case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is much appreciated. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 17:14:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13262#M7973</guid>
      <dc:creator>AmithAdiraju16</dc:creator>
      <dc:date>2023-01-06T17:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to read feature table without target_df / online inference based on filter_condition in databricks feature store</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13263#M7974</link>
      <description>&lt;P&gt;create_training_set is just a simple Select from delta tables. All feature tables are just registered delta tables. Here is an example code that I used to handle that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;    customer_features_df = spark.sql("SELECT * FROM recommender_system.customer_features")
    product_features_df = spark.sql("SELECT * FROM recommender_system.product_features")
    &amp;nbsp;
    training_df.join(
      customer_features_df,
      on=[training_df.cid == customer_features_df.customer_id,
          training_df.transaction_dt == customer_features_df.dt],
      how="inner"
    ).join(
      product_features_df,
      on="product_id",
      how="inner"
    )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 22:54:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13263#M7974</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-06T22:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to read feature table without target_df / online inference based on filter_condition in databricks feature store</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13264#M7975</link>
      <description>&lt;P&gt;Thanks Hubert. So you mean to say, if I want to read a feature table separately , I just do regular select sql statement on that feature table as if a normal delta table ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;`read_table` is not needed in this case ?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 23:03:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13264#M7975</guid>
      <dc:creator>AmithAdiraju16</dc:creator>
      <dc:date>2023-01-06T23:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to read feature table without target_df / online inference based on filter_condition in databricks feature store</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13265#M7976</link>
      <description>&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 12:15:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13265#M7976</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-07T12:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to read feature table without target_df / online inference based on filter_condition in databricks feature store</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13266#M7977</link>
      <description>&lt;P&gt;Along similar lines, I'm struggling to understand one concept on feature tables here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I can read a feature table directly through sql logic and filter it to the dates of my choice, then how's data bricks feature store different from a "data mart " which is in time separated way ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, with feature versioning , every time I want to read a different set of features from offline store, I just pass different column names. How's that different from a regular "select" statement in SQL and data frame ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to justify value of using data bricks feature store to my team, when they say , "its another data mart ". I have intuition that it's not, but can't give proper reasoning.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2023 01:27:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-read-feature-table-without-target-df-online-inference/m-p/13266#M7977</guid>
      <dc:creator>AmithAdiraju16</dc:creator>
      <dc:date>2023-01-20T01:27:24Z</dc:date>
    </item>
  </channel>
</rss>

