Skip to content

Commit

Permalink
See #378. Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
j3-signalroom committed Oct 19, 2024
1 parent 839294d commit c150614
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion python/kickstarter/flink_kickstarter_visualization.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import streamlit as st
from pyflink.datastream import StreamExecutionEnvironment
from pyflink.table import TableEnvironment, EnvironmentSettings, StreamTableEnvironment
from pyflink.table.catalog import ObjectPath
import argparse
import pandas as pd
import streamlit as st
from st_aggrid import AgGrid, GridOptionsBuilder

from helper.utilities import catalog_exist
Expand Down Expand Up @@ -91,6 +91,8 @@ def main(args):
# Read `flight`data from the Iceberg table
flight_table = tbl_env.sql_query(f"SELECT * FROM {database_name}.flight")
df_flight_table = flight_table.to_pandas()



# Create grid options with only specific columns
gb = GridOptionsBuilder.from_dataframe(df_flight_table)
Expand Down

0 comments on commit c150614

Please sign in to comment.