In text-to-SQL, generating accurate SQL queries is crucial. Existing methods that rely on Graph Neural Networks (GNN) still fall short in capturing complex semantic and relational information. We propose TFFSQL, which obtains the textual information of natural language questions as node features and integrates them with the original node features. It also adopts segmentation processing to handle long queries, generates vectors for each segment, and merges them with the node structural features, effectively capturing the semantic information of natural language queries and improving the efficiency and accuracy of the model in processing long queries. An cross-graph attention is introduced in the Relational Graph Attention Network (RGAT). Through the cross-graph attention, the model can dynamically adjust attention weights between the original graph and the line graph, thereby capturing rich relational information. Additionally, TFFSQL also combines recursive decoding with the ASTormer decoder for decoding. Experimental results show that our method outperforms existing GNN-based methods on the Spider dataset, significantly improving the accuracy of SQL query generation.